Mercurial > libavformat.hg
diff avformat.h @ 844:35e372e6a6c3 libavformat
time_base description by Rich Felker | dalias, aerifal cx
| author | michael |
|---|---|
| date | Sun, 21 Aug 2005 22:31:01 +0000 |
| parents | 43210d766412 |
| children | f5a33919749a |
line wrap: on
line diff
--- a/avformat.h Mon Aug 15 20:42:56 2005 +0000 +++ b/avformat.h Sun Aug 21 22:31:01 2005 +0000 @@ -229,6 +229,13 @@ int codec_info_nb_frames; /* encoding: PTS generation when outputing stream */ AVFrac pts; + + /** + * 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. + */ AVRational time_base; int pts_wrap_bits; /* number of bits in pts (used for wrapping control) */ /* ffmpeg.c private use */
