mirror of https://github.com/jellyfin/jellyfin.git
comments
This commit is contained in:
parent
7f0b24758a
commit
03e25d3b0e
|
@ -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}\"",
|
||||
|
|
Loading…
Reference in New Issue