diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-18 13:16:25 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-04-18 13:16:25 -0400 |
| commit | 5170042eb5efee7be005dcc5aca863b66c23a6f2 (patch) | |
| tree | bd54e8945bee9cc987e3e38720fe97eb435788d1 /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | b7b6f64f0089d7ce4ff8c3c5682fd8ede7311b1b (diff) | |
support more dlna resource properties
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 04deea3cf..ff9596757 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -380,7 +380,7 @@ namespace MediaBrowser.Api.Playback if (isVc1) { - profileScore ++; + profileScore++; // Max of 2 profileScore = Math.Min(profileScore, 2); } @@ -445,7 +445,7 @@ namespace MediaBrowser.Api.Playback { if (state.AudioStream != null && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5) { - volParam = ",volume=2.000000"; + volParam = ",volume=" + ServerConfigurationManager.Configuration.DownMixAudioBoost.ToString(UsCulture); } } |
