mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 05:00:39 +02:00
update translations
This commit is contained in:
parent
ff33ebbe73
commit
046eaa7671
|
@ -285,6 +285,8 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
private double[] GetSegmentLengths(StreamState state)
|
||||
{
|
||||
var result = new List<double>();
|
||||
if (state.VideoRequest != null)
|
||||
{
|
||||
var encoder = GetVideoEncoder(state);
|
||||
|
||||
if (string.Equals(encoder, "copy", StringComparison.OrdinalIgnoreCase))
|
||||
|
@ -301,6 +303,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
return result.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var ticks = state.RunTimeTicks ?? 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue