fmp4mux: Fix some comments / debug output

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2178>
This commit is contained in:
Sebastian Dröge 2025-04-06 13:30:13 +03:00 committed by GStreamer Marge Bot
parent 8bed1e156e
commit c901cdfb42

View file

@ -1508,8 +1508,7 @@ impl FMP4Mux {
} }
} }
// We can only finish a chunk if a full GOP with final end PTS is queued and it // We can only finish a chunk if a full GOP with final earliest PTS is queued.
// ends at or after the fragment end PTS.
let (gop_idx, gop) = match stream let (gop_idx, gop) = match stream
.queued_gops .queued_gops
.iter() .iter()
@ -1521,7 +1520,7 @@ impl FMP4Mux {
gst::trace!( gst::trace!(
CAT, CAT,
obj = stream.sinkpad, obj = stream.sinkpad,
"Chunked mode and want to finish fragment but no GOP with final end PTS known yet", "Chunked mode and want to finish chunk but no GOP with final earliest PTS known yet",
); );
return; return;
} }
@ -1551,6 +1550,8 @@ impl FMP4Mux {
} }
} }
} else { } else {
// In fragment-only mode
// Check if the end of the latest finalized GOP is after the fragment end // Check if the end of the latest finalized GOP is after the fragment end
gst::trace!( gst::trace!(
CAT, CAT,