diff options
author | Danila Malyutin <d.maljutin@yandex.ru> | 2023-05-12 20:30:59 +0200 |
---|---|---|
committer | Danila Malyutin <d.maljutin@yandex.ru> | 2023-05-12 20:30:59 +0200 |
commit | 9367769fe732505bf021aacc6342cf8a69eee283 (patch) | |
tree | 131aad5b5dfd8b1107d304ec486c9ea7d1b8a1de | |
parent | Merge pull request #10132 from Kelebek1/fermi_blit2 (diff) | |
download | yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar.gz yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar.bz2 yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar.lz yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar.xz yuzu-9367769fe732505bf021aacc6342cf8a69eee283.tar.zst yuzu-9367769fe732505bf021aacc6342cf8a69eee283.zip |
-rw-r--r-- | src/video_core/host1x/codecs/h264.cpp | 4 |
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); |