diff avcodec.h @ 2843:ea05470188e4 libavcodec

time_base description by Rich Felker | dalias, aerifal cx
author michael
date Sun, 21 Aug 2005 22:31:01 +0000
parents 5e0c3833d208
children 6f7428adc6ad
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.