diff options
author | Arnaud Vrac <avrac@freebox.fr> | 2013-07-17 17:12:59 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-07-17 19:46:00 +0100 |
commit | 3a5fa02e27e25c729dc3f5120e2f06348674b563 (patch) | |
tree | a11fdbdc4b8e9f5a6ed2711a3b0a869c45595858 | |
parent | 9e78c66528b1886199cb4713bd3e279af7679ed8 (diff) | |
download | gstreamer-plugins-bad-3a5fa02e27e25c729dc3f5120e2f06348674b563.tar.gz |
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
-rw-r--r-- | gst/mpegdemux/gstmpegdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |