mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04: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)
|
private double[] GetSegmentLengths(StreamState state)
|
||||||
{
|
{
|
||||||
var result = new List<double>();
|
var result = new List<double>();
|
||||||
|
if (state.VideoRequest != null)
|
||||||
|
{
|
||||||
var encoder = GetVideoEncoder(state);
|
var encoder = GetVideoEncoder(state);
|
||||||
|
|
||||||
if (string.Equals(encoder, "copy", StringComparison.OrdinalIgnoreCase))
|
if (string.Equals(encoder, "copy", StringComparison.OrdinalIgnoreCase))
|
||||||
@ -301,6 +303,7 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||||||
return result.ToArray();
|
return result.ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var ticks = state.RunTimeTicks ?? 0;
|
var ticks = state.RunTimeTicks ?? 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user