summaryrefslogtreecommitdiff
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2013-07-17 17:12:59 +0200
committerTim-Philipp Müller <tim@centricular.net>2013-07-17 18:36:30 +0100
commit506abb06e28acf2e036c2007b7f0571b3d816b75 (patch)
treeeb0c840d3aae1524cea8d19ca9cebc46cd04e3b2 /gst/mpegdemux
parent7c2177b19f38448150cdb8980a80b8df1c1acd36 (diff)
downloadgstreamer-plugins-bad-506abb06e28acf2e036c2007b7f0571b3d816b75.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
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r--gst/mpegdemux/gstmpegdemux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 93dc06c9d..4e1a37dfd 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -627,7 +627,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;