mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-16 20:50:48 +01:00
support more dlna resource properties
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user