diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-25 12:03:44 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-26 17:05:58 +0100 |
commit | 9e30859cb60b915f237581e3ce91b0d31592edc0 (patch) | |
tree | 273bc816c6712a7a32a16b4354d5880412ea2575 /libavcodec/options_table.h | |
parent | 25f4304ebbf96c7ae2952d72b04ad244f8d96334 (diff) | |
download | ffmpeg-9e30859cb60b915f237581e3ce91b0d31592edc0.tar.gz |
lavc: shedule old encoding/decoding API for removal
It has been deprecated for 4 years and certain new codecs do not work
with it.
Also include AVCodecContext.refcounted_frames, as it has no effect with
the new API.
Diffstat (limited to 'libavcodec/options_table.h')
-rw-r--r-- | libavcodec/options_table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 61b4fb9e7f..ded9de4d67 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -441,7 +441,9 @@ static const AVOption avcodec_options[] = { #if FF_API_ASS_TIMING {"ass_with_timings", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS}, INT_MIN, INT_MAX, S|D, "sub_text_format"}, #endif +#if FF_API_OLD_ENCDEC {"refcounted_frames", NULL, OFFSET(refcounted_frames), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, A|V|D }, +#endif #if FF_API_SIDEDATA_ONLY_PKT {"side_data_only_packets", NULL, OFFSET(side_data_only_packets), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, A|V|E }, #endif |