gst/mpegstream/gstmpegdemux.c: Don't ref NULL caps (private streams have NULL caps...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 28 Mar 2006 20:19:31 +0000 (20:19 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 28 Mar 2006 20:19:31 +0000 (20:19 +0000)
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
gst/mpegstream/gstmpegdemux.c

index ef5cbcb42de8f9f0817c9ae0c4f332c148bda610..eee90fd9953610ea275626e95ec236e4bfc20d00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_event),
index 0fe20d261deeb15f0f52ed3118fa4e470fd50b05..5ccaa25534633206a84bbd03bb8dd55b57c983b5 100644 (file)
@@ -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) &&