소스 검색

fixes #92 - Profile & Level args typo

Luke Pulverenti 12 년 전
부모
커밋
874244a2ef
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
  2. 1 1
      MediaBrowser.Api/Playback/Progressive/VideoService.cs

+ 1 - 1
MediaBrowser.Api/Playback/Hls/VideoHlsService.cs

@@ -160,7 +160,7 @@ namespace MediaBrowser.Api.Playback.Hls
 
             if (!string.IsNullOrEmpty(state.VideoRequest.Level))
             {
-                args += " -level 3" + state.VideoRequest.Level;
+                args += " -level " + state.VideoRequest.Level;
             }
             
             if (state.SubtitleStream != null)

+ 1 - 1
MediaBrowser.Api/Playback/Progressive/VideoService.cs

@@ -153,7 +153,7 @@ namespace MediaBrowser.Api.Playback.Progressive
 
             if (!string.IsNullOrEmpty(state.VideoRequest.Level))
             {
-                args += " -level 3" + state.VideoRequest.Level;
+                args += " -level " + state.VideoRequest.Level;
             }
 
             if (state.SubtitleStream != null)