mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #12046 from gnattu/fix-wrong-mpegts-detection
Fix mpeg-ts detection
This commit is contained in:
commit
78eb9b2f78
@ -280,8 +280,8 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||||||
splitFormat[i] = "mpeg";
|
splitFormat[i] = "mpeg";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Handle MPEG-2 container
|
// Handle MPEG-TS container
|
||||||
else if (string.Equals(splitFormat[i], "mpeg", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(splitFormat[i], "mpegts", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
splitFormat[i] = "ts";
|
splitFormat[i] = "ts";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user