changeset 844:35e372e6a6c3 libavformat

time_base description by Rich Felker | dalias, aerifal cx
author michael
date Sun, 21 Aug 2005 22:31:01 +0000
parents dcf6e35ddb72
children e4e8c395d8e9
files avformat.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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 */