From 525a8f3ba55e5220ebf20b05174190ae6ef68e53 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 10 Nov 2011 05:04:17 +0100 Subject: [PATCH] lavc: update AVCodecContext.delay documentation Based on reimars suggestion Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3d438e4ddf..70068dddbe 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1367,10 +1367,12 @@ typedef struct AVCodecContext { int frame_number; ///< audio or video frame number /** - * Number of frames the decoded output will be delayed relative to - * the encoded input. + * Encoding: Number of frames delay there will be from the encoder input to + * the decoder output. (we assume the decoder matches the spec) + * Decoding: Number of frames delay in addition to what a standard decoder + * as specified in the spec would produce. * - encoding: Set by libavcodec. - * - decoding: unused + * - decoding: Set by libavcodec. */ int delay;