mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-07 22:55:27 +01:00
lavc: use a separate field for exporting audio encoder padding
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.
This commit is contained in:
@@ -13,6 +13,10 @@ libavutil: 2014-08-09
|
||||
|
||||
API changes, most recent first:
|
||||
|
||||
2014-10-13 - xxxxxxx - lavc 55.03.0 - avcodec.h
|
||||
Add AVCodecContext.initial_padding. Deprecate the use of AVCodecContext.delay
|
||||
for audio encoding.
|
||||
|
||||
2014-09-xx - xxxxxxx - lavu 54.04.0 - pixdesc.h
|
||||
Add API to return the name of frame and context color properties.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user