From bdfcbbed79684109485fbdf0303d43540c03874f Mon Sep 17 00:00:00 2001 From: Max Krasnyansky Date: Fri, 7 Mar 2003 12:37:49 +0000 Subject: Frame rate emulation patch by (Max Krasnyansky ) Originally committed as revision 1641 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libavcodec/avcodec.h') 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 -- cgit v1.2.3