mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
gst/rtp/gstrtph264depay.c: Set right caps on output buffers.
Original commit message from CVS: * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process): Set right caps on output buffers.
This commit is contained in:
parent
df5916db2f
commit
e4b3dce677
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-02-15 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_process):
|
||||||
|
Set right caps on output buffers.
|
||||||
|
|
||||||
2007-02-14 Wim Taymans <wim@fluendo.com>
|
2007-02-14 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/rtsp/sdpmessage.c: (sdp_parse_line):
|
* gst/rtsp/sdpmessage.c: (sdp_parse_line):
|
||||||
|
|
|
@ -381,8 +381,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
GST_BUFFER_DATA (outbuf) = outdata;
|
GST_BUFFER_DATA (outbuf) = outdata;
|
||||||
GST_BUFFER_MALLOCDATA (outbuf) = outdata;
|
GST_BUFFER_MALLOCDATA (outbuf) = outdata;
|
||||||
|
|
||||||
gst_buffer_set_caps (outbuf,
|
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
|
||||||
(GstCaps *) gst_pad_get_pad_template_caps (depayload->srcpad));
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (rtph264depay, "output %d bytes", outsize);
|
GST_DEBUG_OBJECT (rtph264depay, "output %d bytes", outsize);
|
||||||
|
|
||||||
|
@ -405,8 +404,7 @@ gst_rtp_h264_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
||||||
outdata[2] = 1;
|
outdata[2] = 1;
|
||||||
memcpy (&outdata[3], payload, payload_len);
|
memcpy (&outdata[3], payload, payload_len);
|
||||||
|
|
||||||
gst_buffer_set_caps (outbuf,
|
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (depayload->srcpad));
|
||||||
(GstCaps *) gst_pad_get_pad_template_caps (depayload->srcpad));
|
|
||||||
|
|
||||||
return outbuf;
|
return outbuf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue