From a54830cf39013a1e3d6e11adae990d08fe71e726 Mon Sep 17 00:00:00 2001 From: Conn O'Griofa Date: Fri, 16 Dec 2022 01:37:55 +0000 Subject: [PATCH] video: vaapi: reduce async_depth to 1 (#545) --- src/video.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video.cpp b/src/video.cpp index 36e2a731..70d7a6c4 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -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::max() }, }, @@ -539,6 +540,7 @@ static encoder_t vaapi { }, { { + { "async_depth"s, 1 }, { "sei"s, 0 }, { "idr_interval"s, std::numeric_limits::max() }, },