mirror of https://github.com/FFmpeg/FFmpeg.git
compute_pkt_fields() is for unreliable estimates or guessing. The keyframe information from the parser is (at least in theory) reliable, so it should be used even when the other guessing is disabled with the AVFMT_FLAG_NOFILLIN flag. Therefore, move setting the packet keyframe flag based on parser information from compute_pkt_fields() to read_frame_internal().pull/3/merge
parent
9677247b0a
commit
655b24c01c
1 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue