Mercurial > libavcodec.hg
changeset 2843:ea05470188e4 libavcodec
time_base description by Rich Felker | dalias, aerifal cx
author | michael |
---|---|
date | Sun, 21 Aug 2005 22:31:01 +0000 |
parents | 55b83c229b88 |
children | 5f20ab245501 |
files | avcodec.h |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Sun Aug 21 22:17:41 2005 +0000 +++ b/avcodec.h Sun Aug 21 22:31:01 2005 +0000 @@ -732,14 +732,17 @@ 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.