Revision 694c1424

View differences:

libavcodec/avcodec.h
1203 1203
     */
1204 1204
    enum PixelFormat pix_fmt;
1205 1205

  
1206
#if FF_API_RATE_EMU
1207
    /**
1208
     * Frame rate emulation. If not zero, the lower layer (i.e. format handler)
1209
     * has to read frames at native frame rate.
1210
     * - encoding: Set by user.
1211
     * - decoding: unused
1212
     */
1213
    attribute_deprecated int rate_emu;
1214
#endif
1215

  
1216 1206
    /**
1217 1207
     * If non NULL, 'draw_horiz_band' is called by the libavcodec
1218 1208
     * 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
111 108
{"ar", "set audio sampling rate (in Hz)", OFFSET(sample_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
112 109
{"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
113 110
{"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
libavcodec/version.h
47 47
#ifndef FF_API_OLD_AUDIOCONVERT
48 48
#define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
49 49
#endif
50
#ifndef FF_API_RATE_EMU
51
#define FF_API_RATE_EMU         (LIBAVCODEC_VERSION_MAJOR < 53)
52
#endif
53 50
#ifndef FF_API_MB_Q
54 51
#define FF_API_MB_Q             (LIBAVCODEC_VERSION_MAJOR < 53)
55 52
#endif

Also available in: Unified diff