fmp4mux: Fix writing of sample flags in certain situations
commit 005458073b92b75f52e9e4bcac480a8a033873ad (HEAD -> fmp4mux-sample-flags, gitlab-slomo/fmp4mux-sample-flags)
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Tue Jan 24 19:52:44 2023 +0200
fmp4mux: Don't write the first sample flags into any trun but the first
The flags are based on the first sample of this fragment so writing it
into any trun but the first is not very useful.
commit b412e0f2f8392a5277c9bc6723daa3a94f41d517
Author: Sebastian Dröge <sebastian@centricular.com>
Date: Tue Jan 24 19:51:42 2023 +0200
fmp4mux: Fix decision whether per-sample flags are needed in the trun
Previously it would never use per-sample flags if any later sample
needed different flags than the first two.
Also comment the code a bit better.