[FFmpeg-cvslog] lavc: update AVCodecContext.delay documentation
Michael Niedermayer
git at videolan.org
Thu Nov 10 05:36:18 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 10 05:04:17 2011 +0100| [525a8f3ba55e5220ebf20b05174190ae6ef68e53] | committer: Michael Niedermayer
lavc: update AVCodecContext.delay documentation
Based on reimars suggestion
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=525a8f3ba55e5220ebf20b05174190ae6ef68e53
---
libavcodec/avcodec.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 3d438e4..70068dd 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;
More information about the ffmpeg-cvslog
mailing list