Merge pull request #11739 from kepstin/rec-bugfix
Don't print audio info for corrupt audio files
This commit is contained in:
commit
7964f24147
@ -82,6 +82,7 @@ module BigBlueButton
|
|||||||
if !info[:audio] || !info[:duration]
|
if !info[:audio] || !info[:duration]
|
||||||
BigBlueButton.logger.warn " This audio file is corrupt! It will be removed from the output."
|
BigBlueButton.logger.warn " This audio file is corrupt! It will be removed from the output."
|
||||||
corrupt_audios << audiofile
|
corrupt_audios << audiofile
|
||||||
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
BigBlueButton.logger.debug " format: #{info[:format][:format_name]}, codec: #{info[:audio][:codec_name]}"
|
BigBlueButton.logger.debug " format: #{info[:format][:format_name]}, codec: #{info[:audio][:codec_name]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user