Fix mpeg-ts detection
When the container name is `mpeg`, it means it is MPEG-PS, while the TS container should have the explicit name `mpeg-ts`. Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
b25d6d1e48
commit
8e5a2f565c
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user