mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 19:48:16 +00:00
comments
This commit is contained in:
@@ -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}\"",
|
||||
|
||||
Reference in New Issue
Block a user