Fixed: xvid not always detected correctly (#11138)

This commit is contained in:
nuxen 2025-07-08 03:00:13 +02:00 committed by GitHub
parent bd7465fae4
commit 16308e4b1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -210,7 +210,7 @@ public static string FormatVideoCodec(MediaInfoModel mediaInfo, string sceneName
if (videoFormat == "mpeg4" || videoFormat.Contains("msmpeg4")) if (videoFormat == "mpeg4" || videoFormat.Contains("msmpeg4"))
{ {
if (videoCodecID == "XVID") if (videoCodecID.ToUpperInvariant() == "XVID")
{ {
return "XviD"; return "XviD";
} }