mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-25 23:18:54 +02:00
fix EnableThrottling override
This commit is contained in:
parent
35acc01e03
commit
b4bc403747
|
@ -1241,7 +1241,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual bool EnableThrottling(StreamState state)
|
private bool EnableThrottling(StreamState state)
|
||||||
{
|
{
|
||||||
// do not use throttling with hardware encoders
|
// do not use throttling with hardware encoders
|
||||||
return state.InputProtocol == MediaProtocol.File &&
|
return state.InputProtocol == MediaProtocol.File &&
|
||||||
|
|
|
@ -922,11 +922,6 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||||
).Trim();
|
).Trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool EnableThrottling(StreamState state)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the segment file extension.
|
/// Gets the segment file extension.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in a new issue