]> git.sesse.net Git - ffmpeg/commitdiff
lavc: remove FF_API_RATE_EMU cruft
authorAnton Khirnov <anton@khirnov.net>
Tue, 12 Apr 2011 18:53:21 +0000 (20:53 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 26 Apr 2011 06:16:05 +0000 (08:16 +0200)
libavcodec/avcodec.h
libavcodec/options.c
libavcodec/version.h

index c0f842ec7c932ddb678fe166d15d7f3d5b311b2c..e8578a93278b03490b160d4c73494d943ad86cd4 100644 (file)
@@ -1203,16 +1203,6 @@ typedef struct AVCodecContext {
      */
     enum PixelFormat pix_fmt;
 
-#if FF_API_RATE_EMU
-    /**
-     * Frame rate emulation. If not zero, the lower layer (i.e. format handler)
-     * has to read frames at native frame rate.
-     * - encoding: Set by user.
-     * - decoding: unused
-     */
-    attribute_deprecated int rate_emu;
-#endif
-
     /**
      * If non NULL, 'draw_horiz_band' is called by the libavcodec
      * decoder to draw a horizontal band. It improves cache usage. Not
index 5d7534921eb7472434ea8de24d46c944fa0689ca..d664d41aa80f9b136bda482e948cf95c176d7e8b 100644 (file)
@@ -105,9 +105,6 @@ static const AVOption options[]={
 {"extradata_size", NULL, OFFSET(extradata_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
 {"time_base", NULL, OFFSET(time_base), FF_OPT_TYPE_RATIONAL, DEFAULT, INT_MIN, INT_MAX},
 {"g", "set the group of picture size", OFFSET(gop_size), FF_OPT_TYPE_INT, 12, INT_MIN, INT_MAX, V|E},
-#if FF_API_RATE_EMU
-{"rate_emu", "frame rate emulation", OFFSET(rate_emu), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
-#endif
 {"ar", "set audio sampling rate (in Hz)", OFFSET(sample_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
 {"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
 {"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
index fee57b18157271b0d0ca1e021e0791baa8a472a2..90402ffff701b33d47fe6bcdd60ae54673463b40 100644 (file)
@@ -47,9 +47,6 @@
 #ifndef FF_API_OLD_AUDIOCONVERT
 #define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
 #endif
-#ifndef FF_API_RATE_EMU
-#define FF_API_RATE_EMU         (LIBAVCODEC_VERSION_MAJOR < 53)
-#endif
 #ifndef FF_API_MB_Q
 #define FF_API_MB_Q             (LIBAVCODEC_VERSION_MAJOR < 53)
 #endif