mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
fixes #236 - Subtitle charset
This commit is contained in:
parent
aec36e8096
commit
4b3ce596a1
@ -712,12 +712,38 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
|
||||
{
|
||||
switch (language.ToLower())
|
||||
{
|
||||
case "pol":
|
||||
case "cze":
|
||||
case "ces":
|
||||
case "slo":
|
||||
case "slk":
|
||||
case "hun":
|
||||
case "slv":
|
||||
case "srp":
|
||||
case "hrv":
|
||||
case "rum":
|
||||
case "ron":
|
||||
case "rup":
|
||||
case "alb":
|
||||
case "sqi":
|
||||
return "-sub_charenc windows-1250";
|
||||
case "ara":
|
||||
return "-sub_charenc windows-1256";
|
||||
case "heb":
|
||||
return "-sub_charenc windows-1255";
|
||||
case "grc":
|
||||
case "gre":
|
||||
return "-sub_charenc windows-1253";
|
||||
case "crh":
|
||||
case "ota":
|
||||
case "tur":
|
||||
return "-sub_charenc windows-1254";
|
||||
case "rus":
|
||||
return "-sub_charenc windows-1251";
|
||||
case "vie":
|
||||
return "-sub_charenc windows-1258";
|
||||
default:
|
||||
return string.Empty;
|
||||
return "-sub_charenc windows-1252";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user