Unified · Split
| @@ -1203,16 +1203,6 @@ typedef struct AVCodecContext { · 1202 unmodified lines | ||
| 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 |
| @@ -105,9 +105,6 @@ static const AVOption options[]={ · 104 unmodified lines | ||
| 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}, |
| @@ -47,9 +47,6 @@ · 46 unmodified lines | ||
| 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 |