get default profile if needed
This commit is contained in:
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…
Reference in New Issue
Block a user