diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-08-21 22:31:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-21 22:31:01 +0000 |
commit | 5b28c8c3552626eb4beda42731232bc697073264 (patch) | |
tree | 77b9379e093922a2cb5053e21e7dca3c532cf2de /libavcodec/avcodec.h | |
parent | cc884a3506a428e1d0000b24bbbb1d2fdf3add29 (diff) | |
download | ffmpeg-5b28c8c3552626eb4beda42731232bc697073264.tar.gz |
time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ab00920bc1..e4900dc335 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -732,14 +732,17 @@ typedef struct AVCodecContext { void *extradata; int extradata_size; - /* video only */ /** - * time base in which the timestamps are specified. + * this is the fundamental unit of time (in seconds) in terms + * of which frame timestamps are represented. for fixed-fps content, + * timebase should be 1/framerate and timestamp increments should be + * identically 1. * - encoding: MUST be set by user * - decoding: set by lavc. */ AVRational time_base; + /* video only */ /** * picture width / height. * - encoding: MUST be set by user. |