Merge pull request #12046 from gnattu/fix-wrong-mpegts-detection

Fix mpeg-ts detection
This commit is contained in:
Bond-009 2024-06-15 17:34:31 +02:00 committed by GitHub
commit 78eb9b2f78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -280,8 +280,8 @@ namespace MediaBrowser.MediaEncoding.Probing
splitFormat[i] = "mpeg";
}
// Handle MPEG-2 container
else if (string.Equals(splitFormat[i], "mpeg", StringComparison.OrdinalIgnoreCase))
// Handle MPEG-TS container
else if (string.Equals(splitFormat[i], "mpegts", StringComparison.OrdinalIgnoreCase))
{
splitFormat[i] = "ts";
}