summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 13:51:16 +0100
committerAnton Khirnov <anton@khirnov.net>2014-10-18 05:26:29 +0200
commit66a68ddd1ac376b24db8695058bc8fc28f5bada6 (patch)
tree0c3c3f0f81f2a7be11f20c8cdb6fc0b5cfb4b77f /libavcodec/avcodec.h
parenta75c2eb25a62105c09b48521aef429dc8a231637 (diff)
lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of mpegvideo encoders
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index bd1a0e53cb..4b25cb1478 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2132,14 +2132,16 @@ typedef struct AVCodecContext {
*/
int rc_min_rate;
- float rc_buffer_aggressivity;
-
+#if FF_API_MPV_OPT
/**
- * initial complexity for pass1 ratecontrol
- * - encoding: Set by user.
- * - decoding: unused
+ * @deprecated use encoder private options instead
*/
+ attribute_deprecated
+ float rc_buffer_aggressivity;
+
+ attribute_deprecated
float rc_initial_cplx;
+#endif
/**
* Ratecontrol attempt to use, at maximum, <value> of what can be used without an underflow.