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
This commit is contained in:
Arnaud Vrac 2013-07-17 17:12:59 +02:00 committed by Tim-Philipp Müller
parent 7c2177b19f
commit 506abb06e2

View file

@ -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;