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.
Showing the changes to doc/APIchanges (1 of 22 files). Show all
Unified · Split
| @@ -13,6 +13,10 @@ libavutil: 2014-08-09 · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | API changes, most recent first: |
| 15 | 15 | |
| 16 | +2014-10-13 - xxxxxxx - lavc 55.03.0 - avcodec.h | |
| 17 | + Add AVCodecContext.initial_padding. Deprecate the use of AVCodecContext.delay | |
| 18 | + for audio encoding. | |
| 19 | + | |
| 16 | 20 | 2014-09-xx - xxxxxxx - lavu 54.04.0 - pixdesc.h |
| 17 | 21 | Add API to return the name of frame and context color properties. |
| 18 | 22 | |