fix EnableThrottling override

pull/1154/head
Luke Pulverenti 8 years ago
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…
Cancel
Save