Ignore format for ISO files
This commit is contained in:
parent
6d0b2ed080
commit
ef9eba8bc9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user