diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-09-25 17:05:34 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-20 13:30:08 -0400 |
commit | ffeeae923b03b2b923d58a3c2e00f728ceaf5f87 (patch) | |
tree | 7bc528ae511691d636d06370da8e9b9017cdbe04 /libavcodec/avcodec.h | |
parent | 1baa25c7dae0b43f0ff845f8ab4a94bf15b02440 (diff) | |
download | ffmpeg-ffeeae923b03b2b923d58a3c2e00f728ceaf5f87.tar.gz |
avcodec: clarify documentation of CODEC_CAP_DELAY
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 06cede98ad..2e735f9acc 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -674,8 +674,10 @@ typedef struct RcOverride{ /* Codec can export data for HW decoding (XvMC). */ #define CODEC_CAP_HWACCEL 0x0010 /** - * Codec has a nonzero delay and needs to be fed with NULL at the end to get the delayed data. - * If this is not set, the codec is guaranteed to never be fed with NULL data. + * Codec has a nonzero delay and needs to be fed with avpkt->data=NULL, + * avpkt->size=0 at the end to get the delayed data until the decoder no longer + * returns frames. If this is not set, the codec is guaranteed to never be fed + * with NULL data. */ #define CODEC_CAP_DELAY 0x0020 /** |