aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/MediaSourceManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/Library/MediaSourceManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/MediaSourceManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/MediaSourceManager.cs b/Emby.Server.Implementations/Library/MediaSourceManager.cs
index 321a82c78..e0ecb2bce 100644
--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs
+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs
@@ -777,7 +777,7 @@ namespace Emby.Server.Implementations.Library
try
{
- if (_openStreams.TryGetValue(id, out var info))
+ if (_openStreams.TryGetValue(id, out ILiveStream info))
{
return info;
}
@@ -809,7 +809,7 @@ namespace Emby.Server.Implementations.Library
try
{
- if (_openStreams.TryGetValue(id, out var liveStream))
+ if (_openStreams.TryGetValue(id, out ILiveStream liveStream))
{
liveStream.ConsumerCount--;