summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-05-15 18:03:14 +0200
committerGitHub <noreply@github.com>2023-05-15 18:03:14 +0200
commit5b85925469c0e84dac280eb866395ff24e08b0d4 (patch)
tree04f0be0111538c50768857e73f6a0b6967fe4a2e /src
parentMerge pull request #10265 from german77/amiibo-lag (diff)
parentFix missing pic_order_present_flag in h264 header (diff)
downloadyuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar.gz
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar.bz2
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar.lz
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar.xz
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.tar.zst
yuzu-5b85925469c0e84dac280eb866395ff24e08b0d4.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/host1x/codecs/h264.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host1x/codecs/h264.cpp b/src/video_core/host1x/codecs/h264.cpp
index e87bd65fa..6ce179167 100644
--- a/src/video_core/host1x/codecs/h264.cpp
+++ b/src/video_core/host1x/codecs/h264.cpp
@@ -111,7 +111,7 @@ const std::vector<u8>& H264::ComposeFrame(const Host1x::NvdecCommon::NvdecRegist
writer.WriteUe(0);
writer.WriteBit(context.h264_parameter_set.entropy_coding_mode_flag != 0);
- writer.WriteBit(false);
+ writer.WriteBit(context.h264_parameter_set.pic_order_present_flag != 0);
writer.WriteUe(0);
writer.WriteUe(context.h264_parameter_set.num_refidx_l0_default_active);
writer.WriteUe(context.h264_parameter_set.num_refidx_l1_default_active);
@@ -129,7 +129,7 @@ const std::vector<u8>& H264::ComposeFrame(const Host1x::NvdecCommon::NvdecRegist
writer.WriteBit(context.h264_parameter_set.redundant_pic_cnt_present_flag != 0);
writer.WriteBit(context.h264_parameter_set.transform_8x8_mode_flag != 0);
- writer.WriteBit(true);
+ writer.WriteBit(true); // pic_scaling_matrix_present_flag
for (s32 index = 0; index < 6; index++) {
writer.WriteBit(true);