[FFmpeg-cvslog] lavf doxy: improve AVStream.time_base doxy.
Anton Khirnov
git at videolan.org
Mon Mar 26 21:10:16 CEST 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Feb 27 09:41:31 2012 +0100| [e44ada129c4c39852d5b178bf9a553b39f32655c] | committer: Anton Khirnov
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e44ada129c4c39852d5b178bf9a553b39f32655c
---
libavformat/avformat.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index c540d40..98cfee1 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;
More information about the ffmpeg-cvslog
mailing list