diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-22 07:55:34 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-24 14:26:12 +0200 |
commit | d5dc8cc2974c816ba964692b75c9f17f40830414 (patch) | |
tree | 6a9240f4e9cb7cd9e824eea5437ab73b81c69fb6 /libavcodec/avcodec.h | |
parent | 8ee18b4bee24f99e733cf1425894e82c25d02426 (diff) | |
download | ffmpeg-d5dc8cc2974c816ba964692b75c9f17f40830414.tar.gz |
libx264: add 'crf' private option.
Deprecate corresponding global option.
Ideally all x264 private options should be generated automatically, but
x264 doesn't provide the API for this yet.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5698f512a5..350708da08 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2377,12 +2377,15 @@ typedef struct AVCodecContext { */ int brd_scale; +#if FF_API_X264_GLOBAL_OPTS /** * constant rate factor - quality-based VBR - values ~correspond to qps * - encoding: Set by user. * - decoding: unused + * @deprecated use 'crf' libx264 private option */ - float crf; + attribute_deprecated float crf; +#endif /** * constant quantization parameter rate control method |