get default profile if needed

This commit is contained in:
Luke Pulverenti 2014-05-03 16:50:28 -04:00
parent 78fc5afdc4
commit ca4c674a4b
1 changed files with 5 additions and 0 deletions

View File

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