aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-27 09:41:31 +0100
committerAnton Khirnov <anton@khirnov.net>2012-03-26 10:59:43 +0200
commite44ada129c4c39852d5b178bf9a553b39f32655c (patch)
tree68f2612520d272dac013f1402488389a9c9a535b
parentf58b8cc3e3e8ffe5bf12d49611703c0231c76f44 (diff)
downloadffmpeg-e44ada129c4c39852d5b178bf9a553b39f32655c.tar.gz
lavf doxy: improve AVStream.time_base doxy.
Remove confusing sentence that implied the user should set the timebase. Elaborate on how the timebase is set for muxing.
-rw-r--r--libavformat/avformat.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c540d40dec..98cfee1173 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -629,10 +629,12 @@ typedef struct AVStream {
/**
* This is the fundamental unit of time (in seconds) in terms
- * of which frame timestamps are represented. For fixed-fps content,
- * time base should be 1/framerate and timestamp increments should be 1.
+ * of which frame timestamps are represented.
+ *
* decoding: set by libavformat
- * encoding: set by libavformat in av_write_header
+ * encoding: set by libavformat in av_write_header. The muxer may use the
+ * user-provided value of @ref AVCodecContext.time_base "codec->time_base"
+ * as a hint.
*/
AVRational time_base;