mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Add flag to mark encoders supporting only constant-quality
And set it for MJPEG.
This commit is contained in:
parent
a7eda762dc
commit
fef2162b6e
3 changed files with 6 additions and 1 deletions
|
|
@ -476,6 +476,8 @@ static const VAAPIEncodeProfile vaapi_encode_mjpeg_profiles[] = {
|
|||
static const VAAPIEncodeType vaapi_encode_type_mjpeg = {
|
||||
.profiles = vaapi_encode_mjpeg_profiles,
|
||||
|
||||
.flags = FLAG_CONSTANT_QUALITY_ONLY,
|
||||
|
||||
.configure = &vaapi_encode_mjpeg_configure,
|
||||
|
||||
.picture_params_size = sizeof(VAEncPictureParameterBufferJPEG),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue