mirror of https://github.com/FFmpeg/FFmpeg.git
Current code prefers deprecated AVFrame.pkt_duration over its replacement AVFrame.duration whenever the former is set and not equal to the latter. However, duration will only be actually used when the caller sets the AV_CODEC_FLAG_FRAME_DURATION flag, which was added _after_ AVFrame.duration. This implies that any caller aware of AV_CODEC_FLAG_FRAME_DURATION is also aware of AVFrame.duration. pkt_duration should then never be used.pull/389/head
parent
e392674399
commit
6118be25e1
1 changed files with 0 additions and 7 deletions
Loading…
Reference in new issue