mirror of https://github.com/FFmpeg/FFmpeg.git
This field is currently used by checks - skipping packets before the first keyframe - skipping packets before start time to test whether any packets have been output already. But since frame_number is incremented after the bitstream filters are applied (which may involve delay), this use is incorrect. The keyframe check works around this by adding an extra flag, the start-time check does not. Simplify both checks by replacing the seen_kf flag with a flag tracking whether any packets have been output by do_streamcopy().release/5.1
parent
86e1c0303c
commit
662364b2ef
2 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue