|
|
@ -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 &&
|
|
|
|