aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2022-06-26 20:53:03 -0400
committerJoshua Boniface <joshua@boniface.me>2022-06-29 01:26:38 -0400
commit9c97c533eff94d25463fb649c9572234da4af1ea (patch)
treee95bafaf270e40c900fae2d2f857f389f86c90ff /Jellyfin.Api/Models/StreamingDtos/StreamState.cs
parentd771205544e592ca86724be3d6def09d9c071f92 (diff)
Merge pull request #7994 from nyanmisaka/fix-throttler
(cherry picked from commit a7d45b5d3aa5b16b0aeeece690396f91fb7b7e3e) Signed-off-by: Joshua Boniface <joshua@boniface.me>
Diffstat (limited to 'Jellyfin.Api/Models/StreamingDtos/StreamState.cs')
-rw-r--r--Jellyfin.Api/Models/StreamingDtos/StreamState.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Jellyfin.Api/Models/StreamingDtos/StreamState.cs b/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
index cbabf087b..192f33ebd 100644
--- a/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
+++ b/Jellyfin.Api/Models/StreamingDtos/StreamState.cs
@@ -48,11 +48,6 @@ namespace Jellyfin.Api.Models.StreamingDtos
}
/// <summary>
- /// Gets or sets the transcoding throttler.
- /// </summary>
- public TranscodingThrottler? TranscodingThrottler { get; set; }
-
- /// <summary>
/// Gets the video request.
/// </summary>
public VideoRequestDto? VideoRequest => Request as VideoRequestDto;
@@ -191,11 +186,8 @@ namespace Jellyfin.Api.Models.StreamingDtos
{
_mediaSourceManager.CloseLiveStream(MediaSource.LiveStreamId).GetAwaiter().GetResult();
}
-
- TranscodingThrottler?.Dispose();
}
- TranscodingThrottler = null;
TranscodingJob = null;
_disposed = true;