mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-10 19:25:26 +00:00
fmp4mux: If a stream is longer than the main stream at EOS, simply include all of its buffers in the last fragment nonetheless
This commit is contained in:
parent
ce166b4d8f
commit
cab4cd3b8c
1 changed files with 3 additions and 1 deletions
|
@ -689,7 +689,9 @@ impl FMP4Mux {
|
|||
// If this GOP starts after the fragment end then don't dequeue it yet unless this is
|
||||
// the first stream and no GOPs were dequeued at all yet. This would mean that the
|
||||
// GOP is bigger than the fragment duration.
|
||||
if gop.end_pts > dequeue_end_pts && (fragment_end_pts.is_some() || !gops.is_empty())
|
||||
if !at_eos
|
||||
&& gop.end_pts > dequeue_end_pts
|
||||
&& (fragment_end_pts.is_some() || !gops.is_empty())
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue