mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
fmp4mux: Fix draining if there are no GOPs for a stream
This commit is contained in:
parent
a1553a8411
commit
3d7a38f7d4
1 changed files with 7 additions and 0 deletions
|
@ -558,7 +558,14 @@ impl FMP4Mux {
|
|||
stream.fragment_filled = false;
|
||||
|
||||
if gops.is_empty() {
|
||||
gst::info!(
|
||||
CAT,
|
||||
obj: &stream.sinkpad,
|
||||
"Draining no buffers",
|
||||
);
|
||||
|
||||
streams.push((stream.sinkpad.clone(), stream.caps.clone(), None));
|
||||
drain_buffers.push(VecDeque::new());
|
||||
} else {
|
||||
let first_gop = gops.first().unwrap();
|
||||
let last_gop = gops.last().unwrap();
|
||||
|
|
Loading…
Reference in a new issue