mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge pull request #2 from MediaBrowser/master
get default profile if needed
This commit is contained in:
commit
9d8fb519ed
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue