mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 13:04:18 +00:00
mpegtsbase: Don't hard-flush the packetizer on discont buffers
Doing a hard flush on the packetizer will drop all observations, which will eventually break push-based seeking (with BYTES segment) since we won't know where to seek to anymore (new data would always be considered as the beginning of the stream).
This commit is contained in:
parent
3d6265a9f5
commit
da74a23c1d
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ mpegts_base_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
return res;
|
||||
|
||||
mpegts_base_flush (base, FALSE);
|
||||
mpegts_packetizer_flush (base->packetizer, TRUE);
|
||||
mpegts_packetizer_flush (base->packetizer, FALSE);
|
||||
}
|
||||
|
||||
mpegts_packetizer_push (base->packetizer, buf);
|
||||
|
|
Loading…
Reference in a new issue