mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 09:43:48 +00:00
gopbuffer: Push GOPs in order of time on EOS
GOPs are internally ordered with latest GOP first so they have to be pushed in reverse order on EOS. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2335>
This commit is contained in:
parent
388b442891
commit
594a0152ba
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ impl Stream {
|
|||
}
|
||||
|
||||
fn drain_all(&mut self) -> impl Iterator<Item = Gop> + '_ {
|
||||
self.queued_gops.drain(..)
|
||||
self.queued_gops.drain(..).rev()
|
||||
}
|
||||
|
||||
fn flush(&mut self) {
|
||||
|
|
Loading…
Reference in a new issue