[MOVED FROM GST-P-FARSIGHT] Set our caps on the buffers
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Tue, 12 Aug 2008 16:46:23 +0000 (12:46 -0400)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:55 +0000 (17:48 +0100)
gst/rtpmux/gstrtpmux.c

index 14c1a06..9eae4b6 100644 (file)
@@ -375,6 +375,8 @@ gst_rtp_mux_chain (GstPad * pad, GstBuffer * buffer)
   GST_DEBUG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",
           GST_BUFFER_SIZE (buffer), rtp_mux->seqnum - 1);
 
+  gst_buffer_set_caps (buffer, GST_PAD_CAPS (rtp_mux->srcpad));
+
   ret = gst_pad_push (rtp_mux->srcpad, buffer);
 
   gst_object_unref (rtp_mux);