mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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…
x
Reference in New Issue
Block a user