summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-08-21 22:31:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-08-21 22:31:01 +0000
commit5b28c8c3552626eb4beda42731232bc697073264 (patch)
tree77b9379e093922a2cb5053e21e7dca3c532cf2de /libavformat/avformat.h
parentcc884a3506a428e1d0000b24bbbb1d2fdf3add29 (diff)
time_base description by Rich Felker | dalias, aerifal cx
Originally committed as revision 4536 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index e891b9768d..8b751520c3 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -229,6 +229,13 @@ typedef struct AVStream {
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 */