mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/mpegstream/gstmpegdemux.c: Don't ref NULL caps (private streams have NULL caps) (#336387); also, no need to set c...
Original commit message from CVS: * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer): Don't ref NULL caps (private streams have NULL caps) (#336387); also, no need to set caps on the same buffer twice.
This commit is contained in:
parent
bd5026cbea
commit
def240435e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-03-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
|
||||||
|
Don't ref NULL caps (private streams have NULL caps) (#336387);
|
||||||
|
also, no need to set caps on the same buffer twice.
|
||||||
|
|
||||||
2006-03-28 Tim-Philipp Müller <tim at centricular dot net>
|
2006-03-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event),
|
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event),
|
||||||
|
|
|
@ -924,7 +924,6 @@ gst_mpeg_demux_send_subbuffer (GstMPEGDemux * mpeg_demux,
|
||||||
|
|
||||||
GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
|
GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
|
||||||
GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET (buffer) + offset;
|
GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET (buffer) + offset;
|
||||||
GST_BUFFER_CAPS (outbuf) = gst_caps_ref (outstream->caps);
|
|
||||||
ret = gst_pad_push (outstream->pad, outbuf);
|
ret = gst_pad_push (outstream->pad, outbuf);
|
||||||
|
|
||||||
if (GST_CLOCK_TIME_IS_VALID (mpeg_demux->max_gap) &&
|
if (GST_CLOCK_TIME_IS_VALID (mpeg_demux->max_gap) &&
|
||||||
|
|
Loading…
Reference in a new issue