mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Fix culture problem on Windows for segment_time_delta argument.
This commit is contained in:
parent
2f2010ce59
commit
e8b13ea8a9
1 changed files with 1 additions and 1 deletions
|
@ -970,7 +970,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
if (isEncoding && state.TargetFramerate > 0)
|
||||
{
|
||||
float startTime = 1 / (state.TargetFramerate.Value * 2);
|
||||
timeDeltaParam = string.Format("-segment_time_delta {0}", Math.Round(startTime, 3));
|
||||
timeDeltaParam = string.Format(CultureInfo.InvariantCulture, "-segment_time_delta {0:F3}", startTime);
|
||||
}
|
||||
|
||||
var segmentFormat = GetSegmentFileExtension(state.Request).TrimStart('.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue