Revision ed5fcd60

View differences:

libavcodec/avcodec.h
1208 1208
     */
1209 1209
    enum PixelFormat pix_fmt;
1210 1210

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

  
1219 1221
    /**
1220 1222
     * If non NULL, 'draw_horiz_band' is called by the libavcodec
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
108 109
{"rate_emu", "frame rate emulation", OFFSET(rate_emu), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
110
#endif
109 111
{"ar", "set audio sampling rate (in Hz)", OFFSET(sample_rate), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
110 112
{"ac", "set number of audio channels", OFFSET(channels), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
111 113
{"cutoff", "set cutoff bandwidth", OFFSET(cutoff), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, A|E},
libavcodec/version.h
74 74
#ifndef FF_API_HURRY_UP
75 75
#define FF_API_HURRY_UP         (LIBAVCODEC_VERSION_MAJOR < 53)
76 76
#endif
77
#ifndef FF_API_RATE_EMU
78
#define FF_API_RATE_EMU         (LIBAVCODEC_VERSION_MAJOR < 53)
79
#endif
77 80

  
78 81
#endif /* AVCODEC_VERSION_H */

Also available in: Unified diff