video: vaapi: reduce async_depth to 1 (#545)

This commit is contained in:
Conn O'Griofa 2022-12-16 01:37:55 +00:00 committed by GitHub
parent 63c105bfb1
commit a54830cf39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -531,6 +531,7 @@ static encoder_t vaapi {
AV_PIX_FMT_NV12, AV_PIX_FMT_YUV420P10,
{
{
{ "async_depth"s, 1 },
{ "sei"s, 0 },
{ "idr_interval"s, std::numeric_limits<int>::max() },
},
@ -539,6 +540,7 @@ static encoder_t vaapi {
},
{
{
{ "async_depth"s, 1 },
{ "sei"s, 0 },
{ "idr_interval"s, std::numeric_limits<int>::max() },
},