aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-09-12 22:27:59 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-01-21 15:33:19 -0500
commit7c79587d7407dab4b9445d66b5f111fe657c8c4d (patch)
tree4cc0c43d332a0ceb44149eca3769a499b6af46d1 /libavcodec/avcodec.h
parent5764d38173661c29d954711dd5abfddf709e9ba4 (diff)
downloadffmpeg-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/avcodec.h')
-rw-r--r--libavcodec/avcodec.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 355e6f6729..b4e41aa9cc 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1872,13 +1872,11 @@ typedef struct AVCodecContext {
*/
uint16_t *inter_matrix;
- /**
- * scene change detection threshold
- * 0 is default, larger means fewer detected scene changes.
- * - encoding: Set by user.
- * - decoding: unused
- */
+#if FF_API_PRIVATE_OPT
+ /** @deprecated use encoder private options instead */
+ attribute_deprecated
int scenechange_threshold;
+#endif
/**
* noise reduction strength