Merge pull request #11739 from kepstin/rec-bugfix

Don't print audio info for corrupt audio files
This commit is contained in:
Anton Georgiev 2021-03-24 17:29:49 -04:00 committed by GitHub
commit 7964f24147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ module BigBlueButton
if !info[:audio] || !info[:duration]
BigBlueButton.logger.warn " This audio file is corrupt! It will be removed from the output."
corrupt_audios << audiofile
next
end
BigBlueButton.logger.debug " format: #{info[:format][:format_name]}, codec: #{info[:audio][:codec_name]}"