Changeset 2df0c32e in ffmpeg

Timestamp:
Oct 13, 2014, 7:09:01 PM (10 years ago)
Author:
Anton Khirnov <anton@khirnov.net>
Branches:
master
Children:
da218959, eabdc2a8
Parents:
c80a816
git-author:
Anton Khirnov <anton@khirnov.net> (08/23/14 12:40:50)
git-committer:
Anton Khirnov <anton@khirnov.net> (10/13/14 19:09:01)
Message:

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.