aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 69a812cbf..ab20ab730 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1734,6 +1734,11 @@ namespace MediaBrowser.Api.Playback
AddTimeSeekResponseHeaders(state, responseHeaders);
}
+ if (profile == null)
+ {
+ profile = DlnaManager.GetDefaultProfile();
+ }
+
var audioCodec = state.Request.AudioCodec;
if (state.VideoRequest == null)