summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-10 05:04:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-10 05:19:58 +0100
commit525a8f3ba55e5220ebf20b05174190ae6ef68e53 (patch)
tree746f8a0b8548f438993fd9467f1859511963a550 /libavcodec/avcodec.h
parent3cc1af9dd96f56aeedaf0d7e1553289c2bebf12b (diff)
lavc: update AVCodecContext.delay documentation
Based on reimars suggestion Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files 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;