Parcourir la source

Set max audio channels for transcode profile based on JMP settings

Bond_009 il y a 11 mois
Parent
commit
abcd3d903d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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'}
         ],