diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-12 22:27:59 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-01-21 15:33:19 -0500 |
commit | 7c79587d7407dab4b9445d66b5f111fe657c8c4d (patch) | |
tree | 4cc0c43d332a0ceb44149eca3769a499b6af46d1 /libavcodec/options_table.h | |
parent | 5764d38173661c29d954711dd5abfddf709e9ba4 (diff) | |
download | ffmpeg-7c79587d7407dab4b9445d66b5f111fe657c8c4d.tar.gz |
lavc: Move scenechange_threshold to codec private options
This option is only used by mpegvideoenc, x264, and xavs.
It is a very codec-specific option, so deprecate the global variant.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
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 7a5766ff84..9b8739cee0 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -323,7 +323,9 @@ static const AVOption avcodec_options[] = { #if FF_API_STREAM_CODEC_TAG {"stream_codec_tag", NULL, OFFSET(stream_codec_tag), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX}, #endif +#if FF_API_PRIVATE_OPT {"sc_threshold", "scene change threshold", OFFSET(scenechange_threshold), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, INT_MIN, INT_MAX, V|E}, +#endif #if FF_API_MPV_OPT {"lmin", "deprecated, use encoder private options instead", OFFSET(lmin), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|E}, {"lmax", "deprecated, use encoder private options instead", OFFSET(lmax), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, V|E}, |