From def240435e7e876e23d9e413260b549d7c067449 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 28 Mar 2006 20:19:31 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/mpegstream/gstmpegdemux.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef5cbcb..eee90fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-03-28 Tim-Philipp Müller + * 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 + * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event), (gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_get_audio_stream), (gst_dvd_demux_get_subpicture_stream): diff --git a/gst/mpegstream/gstmpegdemux.c b/gst/mpegstream/gstmpegdemux.c index 0fe20d2..5ccaa25 100644 --- a/gst/mpegstream/gstmpegdemux.c +++ b/gst/mpegstream/gstmpegdemux.c @@ -924,7 +924,6 @@ gst_mpeg_demux_send_subbuffer (GstMPEGDemux * mpeg_demux, GST_BUFFER_TIMESTAMP (outbuf) = timestamp; 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); if (GST_CLOCK_TIME_IS_VALID (mpeg_demux->max_gap) && -- 2.7.4