[FFmpeg-cvslog] libavcodec: Document that encoders may use the framerate field in AVCodecContext

Martin Storsjö git at videolan.org
Wed May 11 20:26:38 CEST 2016


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Apr  6 21:59:59 2016 +0300| [9d4d9be538faa537440fff37d3b7ecf322911a55] | committer: Martin Storsjö

libavcodec: Document that encoders may use the framerate field in AVCodecContext

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d4d9be538faa537440fff37d3b7ecf322911a55
---

 libavcodec/avcodec.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 198cec4..26e6eb3 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3044,7 +3044,8 @@ typedef struct AVCodecContext {
      * - decoding: For codecs that store a framerate value in the compressed
      *             bitstream, the decoder may export it here. { 0, 1} when
      *             unknown.
-     * - encoding: unused
+     * - encoding: May be used to signal the framerate of CFR content to an
+     *             encoder.
      */
     AVRational framerate;
 



More information about the ffmpeg-cvslog mailing list