summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/codecs/h264.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-07 07:52:23 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:54 +0200
commitd146dd9d123a999e40307a93403239b81b04bffc (patch)
tree6d338ad871fa37b47f00938773d5e27195325897 /src/video_core/host1x/codecs/h264.cpp
parentconfiguration: Use IDs to sort holds (diff)
downloadyuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.gz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.bz2
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.lz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.xz
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.zst
yuzu-d146dd9d123a999e40307a93403239b81b04bffc.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/host1x/codecs/h264.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host1x/codecs/h264.cpp b/src/video_core/host1x/codecs/h264.cpp
index 862904e39..ece79b1e2 100644
--- a/src/video_core/host1x/codecs/h264.cpp
+++ b/src/video_core/host1x/codecs/h264.cpp
@@ -84,7 +84,7 @@ std::span<const u8> H264::ComposeFrame(const Host1x::NvdecCommon::NvdecRegisters
// TODO (ameerj): Where do we get this number, it seems to be particular for each stream
const auto nvdec_decoding = Settings::values.nvdec_emulation.GetValue();
- const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::GPU;
+ const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::Gpu;
const u32 max_num_ref_frames = uses_gpu_decoding ? 6u : 16u;
writer.WriteUe(max_num_ref_frames);
writer.WriteBit(false);