libx264: add 'cqp' private option.

Deprecate corresponding global option.
This commit is contained in:
Anton Khirnov
2011-08-22 07:55:34 +02:00
parent d5dc8cc297
commit 9d508e4914
3 changed files with 13 additions and 6 deletions

View File

@@ -2385,14 +2385,15 @@ typedef struct AVCodecContext {
* @deprecated use 'crf' libx264 private option
*/
attribute_deprecated float crf;
#endif
/**
* constant quantization parameter rate control method
* - encoding: Set by user.
* - decoding: unused
* @deprecated use 'cqp' libx264 private option
*/
int cqp;
attribute_deprecated int cqp;
#endif
/**
* minimum GOP size