Browse Source

Set max audio channels for transcode profile based on JMP settings

Bond_009 11 months ago
parent
commit
abcd3d903d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      native/nativeshell.js

+ 1 - 1
native/nativeshell.js

@@ -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'}
         ],