From 213a7acdd041b8c759cf4112fe7079a78603676c Mon Sep 17 00:00:00 2001 From: MaranBr Date: Wed, 23 Jul 2025 13:40:11 -0400 Subject: [PATCH] Force GPU decoding to make some tests --- src/video_core/host1x/ffmpeg/ffmpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/host1x/ffmpeg/ffmpeg.cpp b/src/video_core/host1x/ffmpeg/ffmpeg.cpp index 118c0d2eea..d4db78c393 100644 --- a/src/video_core/host1x/ffmpeg/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg/ffmpeg.cpp @@ -282,10 +282,10 @@ bool DecodeApi::Initialize(Tegra::Host1x::NvdecCommon::VideoCodec codec) { m_decoder_context.emplace(*m_decoder); // Enable GPU decoding if requested. - if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::Gpu) { + //if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::Gpu) { m_hardware_context.emplace(); m_hardware_context->InitializeForDecoder(*m_decoder_context, *m_decoder); - } + //} // Open the decoder context. if (!m_decoder_context->OpenContext(*m_decoder)) {