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
|
||||
return state.InputProtocol == MediaProtocol.File &&
|
||||
|
|
|
@ -922,11 +922,6 @@ namespace MediaBrowser.Api.Playback.Hls
|
|||
).Trim();
|
||||
}
|
||||
|
||||
protected override bool EnableThrottling(StreamState state)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the segment file extension.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user