diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-03 16:50:28 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-05-03 16:50:28 -0400 |
| commit | ca4c674a4b12967cb922d0f13efea698c7bf6e6b (patch) | |
| tree | 52c2f5461a569bcb4a1df18a1e3053b06e817cfc | |
| parent | 78fc5afdc44090675215e0d54103f58d7e765cef (diff) | |
get default profile if needed
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 5 |
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) |
