Force GPU decoding to make some tests

This commit is contained in:
MaranBr 2025-07-23 13:40:11 -04:00
parent bbf40454ae
commit 213a7acdd0

View file

@ -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)) {