mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
fix EnableThrottling override
This commit is contained in:
parent
043ebd8f14
commit
6f08e2152f
@ -1226,7 +1226,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…
x
Reference in New Issue
Block a user