mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
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);
|
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…
Reference in New Issue
Block a user