Skip to content

Commit 21825a1

Browse files
authored
No longer uppercase track lang (#58)
MPV upstream commit mpv-player/mpv@ab3b174 has introduced support for BCP 47 language tags, and now track lang has uppercase and lowercase content.
1 parent c582601 commit 21825a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lua/dyn_menu.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ local function build_track_items(list, type, prop, prefix)
245245

246246
items[#items + 1] = {
247247
title = build_track_title(track, prefix, filename),
248-
shortcut = (track.lang and track.lang ~= '') and track.lang:upper() or nil,
248+
shortcut = (track.lang and track.lang ~= '') and track.lang or nil,
249249
cmd = string.format('set %s %d', prop, track.id),
250250
state = state,
251251
}

0 commit comments

Comments
 (0)