فهرست منبع

Fix playback of complex BluRay ISOs (#6166)

Stan 4 سال پیش
والد
کامیت
adf406b182
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 2 1
      MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
  2. 2 1
      MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs

+ 2 - 1
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

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

+ 2 - 1
MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs

@@ -147,7 +147,8 @@ namespace MediaBrowser.Providers.MediaInfo
                     {
                         Path = path,
                         Protocol = protocol,
-                        VideoType = item.VideoType
+                        VideoType = item.VideoType,
+                        IsoType = item.IsoType
                     }
                 },
                 cancellationToken);