diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2003-03-07 12:37:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-07 12:37:49 +0000 |
commit | bdfcbbed79684109485fbdf0303d43540c03874f (patch) | |
tree | 6e09c7339b15c301ad41031ce2d6c56b4c004488 /libavcodec | |
parent | 64863965466c7260ea934ba4d4db08692dae2264 (diff) | |
download | ffmpeg-bdfcbbed79684109485fbdf0303d43540c03874f.tar.gz |
Frame rate emulation patch by (Max Krasnyansky <maxk at qualcomm dot com>)
Originally committed as revision 1641 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 2a1fa1e3a1..765bc660f4 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -408,7 +408,15 @@ typedef struct AVCodecContext { * - 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 |