lavc: make rc_buffer_aggressivity/rc_initial_cplx into private options of mpegvideo encoders

This commit is contained in:
Anton Khirnov
2013-10-27 13:51:16 +01:00
parent a75c2eb25a
commit 66a68ddd1a
5 changed files with 27 additions and 13 deletions

View File

@@ -2132,14 +2132,16 @@ typedef struct AVCodecContext {
*/
int rc_min_rate;
#if FF_API_MPV_OPT
/**
* @deprecated use encoder private options instead
*/
attribute_deprecated
float rc_buffer_aggressivity;
/**
* initial complexity for pass1 ratecontrol
* - encoding: Set by user.
* - decoding: unused
*/
attribute_deprecated
float rc_initial_cplx;
#endif
/**
* Ratecontrol attempt to use, at maximum, <value> of what can be used without an underflow.