Skip to content
Snippets Groups Projects
Commit d71df37b authored by Andrei Bautu's avatar Andrei Bautu
Browse files

Fix detection of empty video segments

parent beb66512
No related branches found
No related tags found
No related merge requests found
......@@ -259,13 +259,9 @@ module BigBlueButton
warn 'Skipping 0-length edl entry'
next
end
if video_info(segment).empty?
warn 'Skipping edl entry with no video stream'
next
end
segment = "#{output_basename}_#{i}.#{WF_EXT}"
composite_cut(segment, edl[i], layout, videoinfo)
concat += [segment]
concat += [segment] unless video_info(segment).empty?
end
concat_file = "#{output_basename}.txt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment