From 3a5fa02e27e25c729dc3f5120e2f06348674b563 Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Wed, 17 Jul 2013 17:12:59 +0200 Subject: mpegdemux: do not push discont buffers if they aren't discont Explicitly unset discont flag when it shouldn't be set. https://bugzilla.gnome.org/show_bug.cgi?id=682110 --- gst/mpegdemux/gstmpegdemux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index 8106be7ed..7f5c5afca 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -626,7 +626,10 @@ gst_flups_demux_send_data (GstFluPSDemux * demux, GstFluPSStream * stream, GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT); stream->discont = FALSE; + } else { + GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT); } + size = gst_buffer_get_size (buf); demux->next_pts = G_MAXUINT64; -- cgit v1.2.1