changeset 1113:bbcb4fda2b86 libavcodec

Frame rate emulation patch by (Max Krasnyansky <maxk at qualcomm dot com>)
author michaelni
date Fri, 07 Mar 2003 12:37:49 +0000
parents 54be6aece1be
children e4762efc3617
files avcodec.h
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Thu Mar 06 15:56:56 2003 +0000
+++ b/avcodec.h	Fri Mar 07 12:37:49 2003 +0000
@@ -408,7 +408,15 @@
      * - decoding: set by lavc.
      */
     enum PixelFormat pix_fmt;
-        
+ 
+    /**
+     * Frame rate emulation. If not zero lower layer (i.e. format handler) 
+     * has to read frames at native frame rate.
+     * - encoding: set by user.
+     * - decoding: unused.
+     */
+    int rate_emu;
+       
     /**
      * if non NULL, 'draw_horiz_band' is called by the libavcodec
      * decoder to draw an horizontal band. It improve cache usage. Not