Skip to content

Commit

Permalink
Merge pull request #2 from MediaBrowser/master
Browse files Browse the repository at this point in the history
get default profile if needed
  • Loading branch information
7illusions committed May 3, 2014
2 parents 4e6f903 + 2558c1d commit d7dc948
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MediaBrowser.Api/Playback/BaseStreamingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,11 @@ protected void AddDlnaHeaders(StreamState state, IDictionary<string, string> res
AddTimeSeekResponseHeaders(state, responseHeaders);
}

if (profile == null)
{
profile = DlnaManager.GetDefaultProfile();
}

var audioCodec = state.Request.AudioCodec;

if (state.VideoRequest == null)
Expand Down

0 comments on commit d7dc948

Please sign in to comment.