Merge branch 'advplyr:master' into update_cover_on_merge

This commit is contained in:
jmt-gh 2022-06-04 19:00:41 -07:00 committed by GitHub
commit 9b6fa8fe8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ class AbMergeManager {
input: coverPath,
options: ['-f image2pipe']
})
ffmpegOptions.push('-vf [2:v]crop=trunc(iw/2)*2:trunc(ih/2)*2')
ffmpegOptions.push('-c:v copy')
ffmpegOptions.push('-map 2:v')
}
@ -281,4 +281,4 @@ class AbMergeManager {
this.downloads = this.downloads.filter(d => d.id !== download.id)
}
}
module.exports = AbMergeManager
module.exports = AbMergeManager