aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/TranscodingThrottler.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-24 21:34:34 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-24 21:34:34 -0400
commite62270df353aa8e2ae0a20aeff7d5aa6f9b62630 (patch)
treee818ee038583bf955ef517b332848b465a389ba7 /MediaBrowser.Api/Playback/TranscodingThrottler.cs
parentcaebcf82c0c0c83dd77cd69051e9fc3a8b37b9ff (diff)
add socket error message
Diffstat (limited to 'MediaBrowser.Api/Playback/TranscodingThrottler.cs')
-rw-r--r--MediaBrowser.Api/Playback/TranscodingThrottler.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/TranscodingThrottler.cs b/MediaBrowser.Api/Playback/TranscodingThrottler.cs
index 38ce9e298..19a9fe934 100644
--- a/MediaBrowser.Api/Playback/TranscodingThrottler.cs
+++ b/MediaBrowser.Api/Playback/TranscodingThrottler.cs
@@ -139,6 +139,12 @@ namespace MediaBrowser.Api.Playback
return false;
}
+ public void Stop()
+ {
+ DisposeTimer();
+ UnpauseTranscoding();
+ }
+
public void Dispose()
{
DisposeTimer();