Browse Source

fixes #92 - Profile & Level args typo

Luke Pulverenti 12 years ago
parent
commit
874244a2ef

+ 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)