mirror of https://github.com/FFmpeg/FFmpeg.git
Currently, the amount of padding inserted at the beginning by some audio encoders, is exported through AVCodecContext.delay. However - the term 'delay' is heavily overloaded and can have multiple different meanings even in the case of audio encoding. - this field has entirely different meanings, depending on whether the codec context is used for encoding or decoding (and has yet another different meaning for video), preventing generic handling of the codec context. Therefore, add a new field -- AVCodecContext.initial_padding. It could conceivably be used for decoding as well at a later point.pull/89/head
parent
c80a816142
commit
2df0c32ea1
22 changed files with 63 additions and 40 deletions
Loading…
Reference in new issue