summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2008-08-12 12:46:23 -0400
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:55 +0100
commit498635f9b100d3930a8834541382259ebfec6e52 (patch)
tree35e2d6bef06b1ee20e460bd756d93cf19ce979d2
parentfed3e1c5e8efafc64bdc1d2bf42218f2d27ae232 (diff)
[MOVED FROM GST-P-FARSIGHT] Set our caps on the buffers
-rw-r--r--gst/rtpmux/gstrtpmux.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 14c1a06e6..9eae4b67e 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -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);