Skip to content

Commit

Permalink
Merge pull request #445 from jellyfin/bond-transcodeaudiochannels
Browse files Browse the repository at this point in the history
Set max audio channels for transcode profile based on JMP settings
  • Loading branch information
iwalton3 authored May 23, 2023
2 parents 96a9d51 + abcd3d9 commit a138acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/nativeshell.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function getDeviceProfile() {
: 'h264,h265,hevc,mpeg4,mpeg2video'
)
: 'h264,mpeg4,mpeg2video',
'MaxAudioChannels': '6'
'MaxAudioChannels': jmpInfo.settings.audio.channels === "2.0" ? '2' : '6'
},
{'Container': 'jpeg', 'Type': 'Photo'}
],
Expand Down

0 comments on commit a138acb

Please sign in to comment.