diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-09-23 22:53:00 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-10-27 19:35:35 +0100 |
commit | fef2162b6ea752c76a1220f59ad962b65a400fc3 (patch) | |
tree | eb9cf3ff0ab7698e03ce93c78c1ed1dc83a37ece /libavcodec/vaapi_encode.h | |
parent | a7eda762dce66e7df993f66fc3abdf06c7074190 (diff) |
vaapi_encode: Add flag to mark encoders supporting only constant-quality
And set it for MJPEG.
Diffstat (limited to 'libavcodec/vaapi_encode.h')
-rw-r--r-- | libavcodec/vaapi_encode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index 271d4ef518..965fe65c0b 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -251,6 +251,8 @@ typedef struct VAAPIEncodeContext { enum { // Codec supports controlling the subdivision of pictures into slices. FLAG_SLICE_CONTROL = 1 << 0, + // Codec only supports constant quality (no rate control). + FLAG_CONSTANT_QUALITY_ONLY = 1 << 1, }; typedef struct VAAPIEncodeType { |