gst/rtpmanager/gstrtpptdemux.c: We always use fixed caps.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 15 May 2007 13:29:53 +0000 (13:29 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Aug 2009 01:30:27 +0000 (02:30 +0100)
Original commit message from CVS:
* gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_chain):
We always use fixed caps.

gst/rtpmanager/gstrtpptdemux.c

index 40127f2..139665e 100644 (file)
@@ -243,6 +243,7 @@ gst_rtp_pt_demux_chain (GstPad * pad, GstBuffer * buf)
     templ = gst_element_class_get_pad_template (klass, "src_%d");
     padname = g_strdup_printf ("src_%d", pt);
     srcpad = gst_pad_new_from_template (templ, padname);
+    gst_pad_use_fixed_caps (srcpad);
     g_free (padname);
 
     /* figure out the caps */