mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
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:
parent
7c2177b19f
commit
506abb06e2
1 changed files with 3 additions and 0 deletions
|
@ -627,7 +627,10 @@ gst_flups_demux_send_data (GstFluPSDemux * demux, GstFluPSStream * stream,
|
||||||
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||||
|
|
||||||
stream->discont = FALSE;
|
stream->discont = FALSE;
|
||||||
|
} else {
|
||||||
|
GST_BUFFER_FLAG_UNSET (buf, GST_BUFFER_FLAG_DISCONT);
|
||||||
}
|
}
|
||||||
|
|
||||||
size = gst_buffer_get_size (buf);
|
size = gst_buffer_get_size (buf);
|
||||||
|
|
||||||
demux->next_pts = G_MAXUINT64;
|
demux->next_pts = G_MAXUINT64;
|
||||||
|
|
Loading…
Reference in a new issue