Revision 329559ae

View differences:

libavcodec/avcodec.h
1226 1226
     */
1227 1227
    enum PixelFormat pix_fmt;
1228 1228

  
1229
#if FF_API_RATE_EMU
1230
    /**
1231
     * Frame rate emulation. If not zero, the lower layer (i.e. format handler)
1232
     * has to read frames at native frame rate.
1233
     * - encoding: Set by user.
1234
     * - decoding: unused
1235
     */
1236
    attribute_deprecated int rate_emu;
1237
#endif
1238

  
1229 1239
    /**
1230 1240
     * If non NULL, 'draw_horiz_band' is called by the libavcodec
1231 1241
     * decoder to draw a horizontal band. It improves cache usage. Not
libavcodec/options.c
105 105
{"extradata_size", NULL, OFFSET(extradata_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
106 106
{"time_base", NULL, OFFSET(time_base), FF_OPT_TYPE_RATIONAL, DEFAULT, INT_MIN, INT_MAX},
107 107
{"g", "set the group of picture size", OFFSET(gop_size), FF_OPT_TYPE_INT, 12, INT_MIN, INT_MAX, V|E},
108
#if FF_API_RATE_EMU
109
{"rate_emu", "frame rate emulation", OFFSET(rate_emu), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
110
#endif
108 111
{"ar", "set audio sampling rate (in Hz)", OFFSET(sample_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
109 112
{"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
110 113
{"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
libavcodec/version.h
71 71
#ifndef FF_API_OLD_AUDIOCONVERT
72 72
#define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
73 73
#endif
74
#ifndef FF_API_RATE_EMU
75
#define FF_API_RATE_EMU         (LIBAVCODEC_VERSION_MAJOR < 53)
76
#endif
74 77
#ifndef FF_API_MB_Q
75 78
#define FF_API_MB_Q             (LIBAVCODEC_VERSION_MAJOR < 53)
76 79
#endif

Also available in: Unified diff