Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/res/strings_utf8.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/subtitles_provider_csri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::mutex> lock(csri_mutex);
if (!csri_request_fmt(instance.get(), &format))
Expand Down