Luke Pulverenti 11 年之前
父节点
当前提交
03e25d3b0e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      MediaBrowser.Api/Playback/Hls/BaseHlsService.cs

+ 2 - 2
MediaBrowser.Api/Playback/Hls/BaseHlsService.cs

@@ -276,7 +276,7 @@ namespace MediaBrowser.Api.Playback.Hls
         protected override string GetCommandLineArguments(string outputPath, StreamState state, bool isEncoding)
         protected override string GetCommandLineArguments(string outputPath, StreamState state, bool isEncoding)
         {
         {
             var hlsVideoRequest = state.VideoRequest as GetHlsVideoStream;
             var hlsVideoRequest = state.VideoRequest as GetHlsVideoStream;
-
+            
             var itsOffsetMs = hlsVideoRequest == null
             var itsOffsetMs = hlsVideoRequest == null
                                        ? 0
                                        ? 0
                                        : ((GetHlsVideoStream)state.VideoRequest).TimeStampOffsetMs;
                                        : ((GetHlsVideoStream)state.VideoRequest).TimeStampOffsetMs;
@@ -287,7 +287,7 @@ namespace MediaBrowser.Api.Playback.Hls
 
 
             var inputModifier = GetInputModifier(state);
             var inputModifier = GetInputModifier(state);
 
 
-            // If performSubtitleConversions is true we're actually starting ffmpeg
+            // If isEncoding is true we're actually starting ffmpeg
             var startNumberParam = isEncoding ? GetStartNumber(state).ToString(UsCulture) : "0";
             var startNumberParam = isEncoding ? GetStartNumber(state).ToString(UsCulture) : "0";
 
 
             var args = string.Format("{0} {1} -i {2} -map_metadata -1 -threads {3} {4} {5} -sc_threshold 0 {6} -hls_time {7} -start_number {8} -hls_list_size {9} -y \"{10}\"",
             var args = string.Format("{0} {1} -i {2} -map_metadata -1 -threads {3} {4} {5} -sc_threshold 0 {6} -hls_time {7} -start_number {8} -hls_list_size {9} -y \"{10}\"",