diff options
author | zeeshan.ali@nokia.com <zeeshan.ali@nokia.com> | 2007-03-26 10:57:12 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-21 17:47:57 +0100 |
commit | 109b232e55d43d81aa144e952c995e1235011514 (patch) | |
tree | afac955a5b73cc2ca2bbb7d0523c5fcaa0fcd915 /gst/rtpdtmf/gstrtpdtmfsrc.c | |
parent | ffe20dee1892bb9f3bcb841be7d602ad6626689d (diff) | |
download | gst-plugins-bad-109b232e55d43d81aa144e952c995e1235011514.tar.gz gst-plugins-bad-109b232e55d43d81aa144e952c995e1235011514.tar.bz2 gst-plugins-bad-109b232e55d43d81aa144e952c995e1235011514.zip |
[MOVED FROM GST-P-FARSIGHT] Call set_caps when we have all the params
20070326105712-65035-3e3dfce0b50d61eafda846bee0a6d66c3541c6ed.gz
Diffstat (limited to 'gst/rtpdtmf/gstrtpdtmfsrc.c')
-rw-r--r-- | gst/rtpdtmf/gstrtpdtmfsrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtpdtmf/gstrtpdtmfsrc.c b/gst/rtpdtmf/gstrtpdtmfsrc.c index 5e3a2555..e952129a 100644 --- a/gst/rtpdtmf/gstrtpdtmfsrc.c +++ b/gst/rtpdtmf/gstrtpdtmfsrc.c @@ -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); |