mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avcodec: document the use of AVCodecContext.delay for audio decoding
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
4dc8c8386e
commit
e4aa3831b7
@ -1449,15 +1449,18 @@ typedef struct AVCodecContext {
|
|||||||
* encoded input.
|
* encoded input.
|
||||||
*
|
*
|
||||||
* Audio:
|
* Audio:
|
||||||
* Number of "priming" samples added to the beginning of the stream
|
* For encoding, this is the number of "priming" samples added to the
|
||||||
* during encoding. The decoded output will be delayed by this many
|
* beginning of the stream. The decoded output will be delayed by this
|
||||||
* samples relative to the input to the encoder. Note that this field is
|
* many samples relative to the input to the encoder. Note that this
|
||||||
* purely informational and does not directly affect the pts output by
|
* field is purely informational and does not directly affect the pts
|
||||||
* the encoder, which should always be based on the actual presentation
|
* output by the encoder, which should always be based on the actual
|
||||||
* time, including any delay.
|
* presentation time, including any delay.
|
||||||
|
* For decoding, this is the number of samples the decoder needs to
|
||||||
|
* output before the decoder's output is valid. When seeking, you should
|
||||||
|
* start decoding this many samples prior to your desired seek point.
|
||||||
*
|
*
|
||||||
* - encoding: Set by libavcodec.
|
* - encoding: Set by libavcodec.
|
||||||
* - decoding: unused
|
* - decoding: Set by libavcodec.
|
||||||
*/
|
*/
|
||||||
int delay;
|
int delay;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user