rtpmux: 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)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 16 Dec 2012 16:32:22 +0000 (16:32 +0000)
gst/rtpmanager/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);