mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
[MOVED FROM GST-P-FARSIGHT] Call set_caps when we have all the params
20070326105712-65035-3e3dfce0b50d61eafda846bee0a6d66c3541c6ed.gz
This commit is contained in:
parent
ffe20dee18
commit
109b232e55
1 changed files with 2 additions and 2 deletions
|
@ -302,8 +302,6 @@ gst_rtp_dtmf_src_init (GstRTPDTMFSrc * dtmfsrc, gpointer g_class)
|
|||
dtmfsrc->pt = DEFAULT_PT;
|
||||
dtmfsrc->clock_rate = DEFAULT_CLOCK_RATE;
|
||||
|
||||
gst_rtp_dtmf_src_set_caps (dtmfsrc);
|
||||
|
||||
GST_DEBUG_OBJECT (dtmfsrc, "init done");
|
||||
}
|
||||
|
||||
|
@ -503,6 +501,8 @@ gst_rtp_dtmf_src_start (GstRTPDTMFSrc *dtmfsrc,
|
|||
else
|
||||
dtmfsrc->ts_base = dtmfsrc->ts_offset;
|
||||
|
||||
gst_rtp_dtmf_src_set_caps (dtmfsrc);
|
||||
|
||||
/* Don't forget to get exclusive access to the stream */
|
||||
gst_rtp_dtmf_src_set_stream_lock (dtmfsrc, TRUE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue