Merge pull request #2 from MediaBrowser/master

get default profile if needed
pull/702/head
7illusions 11 years ago
commit 9d8fb519ed

@ -1734,6 +1734,11 @@ namespace MediaBrowser.Api.Playback
AddTimeSeekResponseHeaders(state, responseHeaders); AddTimeSeekResponseHeaders(state, responseHeaders);
} }
if (profile == null)
{
profile = DlnaManager.GetDefaultProfile();
}
var audioCodec = state.Request.AudioCodec; var audioCodec = state.Request.AudioCodec;
if (state.VideoRequest == null) if (state.VideoRequest == null)

Loading…
Cancel
Save