"Merge Tagged PR 9810"

This commit is contained in:
yuzubot committed 2023-02-17 13:03:04 +00:00
1 parent 61b1772e51
commit 904f331d70
1 file changed
+2
+2
View File
@@ -152,6 +152,8 @@ bool Codec::CreateGpuAvDevice() {
void Codec::InitializeAvCodecContext() {
av_codec_ctx = avcodec_alloc_context3(av_codec);
av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0);
av_codec_ctx->thread_count = 0;
av_codec_ctx->thread_type &= ~FF_THREAD_FRAME;
}
void Codec::InitializeGpuDecoder() {