diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-19 11:41:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-19 11:41:58 -0400 |
| commit | 03e25d3b0eaa799ca87df38833656d93f2872651 (patch) | |
| tree | c4dd841d12fd7f23a52f71005b1d06986f4b86f1 | |
| parent | 7f0b24758a0b382d74b5526b36de06622c7a6c18 (diff) | |
comments
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/BaseHlsService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs b/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs index c4e1fa5de..5de0709fd 100644 --- a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs +++ b/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) { var hlsVideoRequest = state.VideoRequest as GetHlsVideoStream; - + var itsOffsetMs = hlsVideoRequest == null ? 0 : ((GetHlsVideoStream)state.VideoRequest).TimeStampOffsetMs; @@ -287,7 +287,7 @@ namespace MediaBrowser.Api.Playback.Hls 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 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}\"", |
