Ignore format for ISO files

This commit is contained in:
MrTimscampi 2021-03-25 11:45:27 +01:00
parent 6d0b2ed080
commit ef9eba8bc9
2 changed files with 7 additions and 1 deletions

View File

@ -313,6 +313,12 @@ namespace MediaBrowser.Controller.MediaEncoding
return null;
}
// ISO files don't have an ffmpeg format
if (string.Equals(container, "iso", StringComparison.OrdinalIgnoreCase))
{
return null;
}
return container;
}

View File

@ -370,7 +370,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
public string GetInputArgument(string inputFile, MediaSourceInfo mediaSource)
{
var prefix = "file";
if (mediaSource.VideoType == VideoType.BluRay || mediaSource.VideoType == VideoType.Iso)
if (mediaSource.VideoType == VideoType.BluRay)
{
prefix = "bluray";
}