From 8c1382ab6ca23e65c1e4ab3a789be7757e4fcbb6 Mon Sep 17 00:00:00 2001 From: GH Cao Date: Sun, 20 Apr 2025 00:07:34 +0800 Subject: [PATCH 1/2] strings_utf8.rc: Correct the Language ID of Chinese Simplified and Chinese Traditional --- src/res/strings_utf8.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/res/strings_utf8.rc b/src/res/strings_utf8.rc index ce9d5d56b3..b740046ecb 100644 --- a/src/res/strings_utf8.rc +++ b/src/res/strings_utf8.rc @@ -272,7 +272,7 @@ BEGIN END // by Ben Tsui -LANGUAGE LANG_CHINESE_SIMPLIFIED, SUBLANG_CHINESE_SIMPLIFIED +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED STRINGTABLE BEGIN 10000 "Aegisub" @@ -290,7 +290,7 @@ BEGIN END // by Ben Tsui -LANGUAGE LANG_CHINESE_TRADITIONAL, SUBLANG_CHINESE_TRADITIONAL +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL STRINGTABLE BEGIN 10000 "Aegisub" From cbc966a3777228eabf10cf9f9efbe2d42002b37e Mon Sep 17 00:00:00 2001 From: GH Cao Date: Sun, 20 Apr 2025 00:10:35 +0800 Subject: [PATCH 2/2] subtitles_provider_csri: fix type mismatch error --- src/subtitles_provider_csri.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtitles_provider_csri.cpp b/src/subtitles_provider_csri.cpp index e616b58688..21d2170bac 100644 --- a/src/subtitles_provider_csri.cpp +++ b/src/subtitles_provider_csri.cpp @@ -98,7 +98,7 @@ void CSRISubtitlesProvider::DrawSubtitles(VideoFrame &dst, double time) { } frame.pixfmt = CSRI_F_BGR_; - csri_fmt format = { frame.pixfmt, dst.width, dst.height }; + csri_fmt format = { frame.pixfmt, (unsigned)dst.width, (unsigned)dst.height }; std::lock_guard lock(csri_mutex); if (!csri_request_fmt(instance.get(), &format))