Update henk audio codec plugin

Should fix #202
This commit is contained in:
Rick Meijer 2021-12-06 17:48:06 +01:00 committed by GitHub
parent 1456e45480
commit 86965bc062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ function plugin(file, librarySettings, inputs) {
for (let i = 0; i < file.ffProbeData.streams.length; i += 1) {
const currStream = file.ffProbeData.streams[i];
if (currStream.codec_type.toLowerCase() === 'audio' && currStream.codec_name === inputs.output_codec) {
if (currStream.codec_type.toLowerCase() === 'audio' && currStream.codec_name === inputs.output_codec && currStream.tags) {
if (currStream.tags.COPYRIGHT === 'henk_asac') {
killPlugin = true;
}