mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpegtsbase: Flush out the packetizer on flushing seeks
... else we end up with bogus data/offsets
This commit is contained in:
parent
ece4dfc3c6
commit
a3ae51be29
1 changed files with 1 additions and 0 deletions
|
@ -1634,6 +1634,7 @@ mpegts_base_handle_seek_event (MpegTSBase * base, GstPad * pad,
|
|||
gst_pad_push_event (base->sinkpad, gst_event_new_flush_stop ());
|
||||
/* And actually flush our pending data */
|
||||
mpegts_base_flush (base);
|
||||
mpegts_packetizer_flush (base->packetizer);
|
||||
}
|
||||
|
||||
if (flags & (GST_SEEK_FLAG_SEGMENT | GST_SEEK_FLAG_SKIP)) {
|
||||
|
|
Loading…
Reference in a new issue