diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-24 10:03:39 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-03-28 13:00:42 +0200 |
commit | 83eb52323c5a2664a9802cb8fc3fc2784c733dfb (patch) | |
tree | 9806c51ac44e4492221d49eacedeb613000b6cc0 /libavcodec | |
parent | 5f87c9915d9c7f1f3565cb207b8ebf5c42a9cd5e (diff) | |
download | ffmpeg-83eb52323c5a2664a9802cb8fc3fc2784c733dfb.tar.gz |
lavc: expand doxy for AV_CODEC_FLAG_RECON_FRAME
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index d1bcb3026c..7a6eb4c0e2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -239,6 +239,15 @@ typedef struct RcOverride{ * * Should only be used with encoders flagged with the * @ref AV_CODEC_CAP_ENCODER_RECON_FRAME capability. + * + * @note + * Each reconstructed frame returned by the encoder corresponds to the last + * encoded packet, i.e. the frames are returned in coded order rather than + * presentation order. + * + * @note + * Frame parameters (like pixel format or dimensions) do not have to match the + * AVCodecContext values. Make sure to use the values from the returned frame. */ #define AV_CODEC_FLAG_RECON_FRAME (1 << 6) /** |