mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
[MOVED FROM GST-P-FARSIGHT] Set our caps on the buffers
This commit is contained in:
parent
fed3e1c5e8
commit
498635f9b1
1 changed files with 2 additions and 0 deletions
|
@ -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_DEBUG_OBJECT (rtp_mux, "Pushing packet size %d, seq=%d, ts=%u",
|
||||||
GST_BUFFER_SIZE (buffer), rtp_mux->seqnum - 1);
|
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);
|
ret = gst_pad_push (rtp_mux->srcpad, buffer);
|
||||||
|
|
||||||
gst_object_unref (rtp_mux);
|
gst_object_unref (rtp_mux);
|
||||||
|
|
Loading…
Reference in a new issue