Merge pull request #55 from Aerion/fix-b39x-the1poet-surround-sound-to-ac3-index

Fix #54
make-only-subtitle-default
HaveAGitGat 6 years ago committed by GitHub
commit 1dc78156ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@ function plugin(file) {
try { try {
if ( file.ffProbeData.streams[1].channels >= 6 && file.ffProbeData.streams[i].codec_name !== 'ac3' && file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" ) { if ( file.ffProbeData.streams[i].channels >= 6 && file.ffProbeData.streams[i].codec_name !== 'ac3' && file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" ) {
ffmpegCommandInsert += ` -c:a:${audioIdx} ac3 ` ffmpegCommandInsert += ` -c:a:${audioIdx} ac3 `
hasnonAC3SurroundTrack = true hasnonAC3SurroundTrack = true

Loading…
Cancel
Save