Fix BD ISO playback

This commit is contained in:
Shadowghost 2023-02-04 12:33:22 +01:00
parent edf3909157
commit d89cd188eb

View File

@ -444,7 +444,13 @@ namespace MediaBrowser.MediaEncoding.Encoder
/// <inheritdoc />
public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
{
return EncodingUtils.GetInputArgument("file", new List<string>() { inputFile }, mediaSource.Protocol);
var prefix = "file";
if (mediaSource.IsoType == IsoType.BluRay)
{
prefix = "bluray";
}
return EncodingUtils.GetInputArgument(prefix, new List<string>() { inputFile }, mediaSource.Protocol);
}
/// <inheritdoc />