get default profile if needed

pull/702/head
Luke Pulverenti 11 years ago
parent 78fc5afdc4
commit ca4c674a4b

@ -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)

Loading…
Cancel
Save