diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-06 16:09:35 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-06 16:09:35 -0400 |
| commit | 234dba2d9a676ed99b972186160f8993e7293208 (patch) | |
| tree | 995e09e1134f42a843f70538efe01ee166927081 /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | eb1ade477d09124e0e0e2ce35009302e6818c5c9 (diff) | |
move usage reporter to server project
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index e20c4c115..b53be638b 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -775,11 +775,6 @@ namespace MediaBrowser.Api.Playback return "copy"; } - protected virtual bool SupportsThrottling - { - get { return false; } - } - /// <summary> /// Gets the input argument. /// </summary> @@ -788,7 +783,7 @@ namespace MediaBrowser.Api.Playback /// <returns>System.String.</returns> protected string GetInputArgument(string transcodingJobId, StreamState state) { - if (SupportsThrottling && state.InputProtocol == MediaProtocol.File && + if (state.InputProtocol == MediaProtocol.File && state.RunTimeTicks.HasValue && state.VideoType == VideoType.VideoFile && !string.Equals(state.OutputVideoCodec, "copy", StringComparison.OrdinalIgnoreCase)) |
