fixes #294 - Dvd iso not mounting

This commit is contained in:
Luke Pulverenti 2013-05-21 02:17:07 -04:00
parent 131ccc932e
commit 8682ee30dd

View file

@ -533,7 +533,10 @@ namespace MediaBrowser.Api.Playback
if (video != null)
{
inputPath = MediaEncoderHelpers.GetInputArgument(video, isoMount, out type);
if (!(video.VideoType == VideoType.Iso && isoMount == null))
{
inputPath = MediaEncoderHelpers.GetInputArgument(video, isoMount, out type);
}
}
return MediaEncoder.GetInputArgument(inputPath, type);