aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-22 07:55:34 +0200
committerAnton Khirnov <anton@khirnov.net>2011-08-24 14:26:12 +0200
commitd5dc8cc2974c816ba964692b75c9f17f40830414 (patch)
tree6a9240f4e9cb7cd9e824eea5437ab73b81c69fb6 /libavcodec/avcodec.h
parent8ee18b4bee24f99e733cf1425894e82c25d02426 (diff)
downloadffmpeg-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.h5
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