The Free Software Media System - Server Backend & API
comments
Luke Pulverenti03e25d3b0eaa
diff --git a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs b/MediaBrowser.Api/Playback/Hls/BaseHlsService.csindex c4e1fa5de2..5de0709fd2 100644--- a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs@@ -276,7 +276,7 @@ namespace MediaBrowser.Api.Playback.Hlsprotected override string GetCommandLineArguments(string outputPath, StreamState state, bool isEncoding){var hlsVideoRequest = state.VideoRequest as GetHlsVideoStream;-+var itsOffsetMs = hlsVideoRequest == null? 0: ((GetHlsVideoStream)state.VideoRequest).TimeStampOffsetMs;@@ -287,7 +287,7 @@ namespace MediaBrowser.Api.Playback.Hlsvar inputModifier = GetInputModifier(state);- // If performSubtitleConversions is true we're actually starting ffmpeg+ // If isEncoding is true we're actually starting ffmpegvar 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}\"",