mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
fix EnableThrottling override
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user