1
0
Fork 0

Remove useless condition

This commit is contained in:
Chocobozzz 2021-10-11 14:40:53 +02:00
parent 9fb2ed5f83
commit 5ac6449735
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -65,7 +65,7 @@ const defaultAACOptionsBuilder: EncoderOptionsBuilder = async ({ input, streamNu
logger.debug('Calculating audio bitrate of %s by AAC encoder.', input, { bitrate: parsedAudio.bitrate, audioCodecName }) logger.debug('Calculating audio bitrate of %s by AAC encoder.', input, { bitrate: parsedAudio.bitrate, audioCodecName })
if (bitrate !== undefined && bitrate !== -1) { if (bitrate !== -1) {
return { outputOptions: [ buildStreamSuffix('-b:a', streamNum), bitrate + 'k' ] } return { outputOptions: [ buildStreamSuffix('-b:a', streamNum), bitrate + 'k' ] }
} }