From d71df37b8a1542d93a712dd836356c9b7439ff78 Mon Sep 17 00:00:00 2001 From: Andrei Bautu <abautu@gmail.com> Date: Wed, 10 Mar 2021 11:40:18 +0200 Subject: [PATCH] Fix detection of empty video segments --- record-and-playback/core/lib/recordandplayback/edl/video.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/record-and-playback/core/lib/recordandplayback/edl/video.rb b/record-and-playback/core/lib/recordandplayback/edl/video.rb index 7bb879d6b2..a81da8086a 100644 --- a/record-and-playback/core/lib/recordandplayback/edl/video.rb +++ b/record-and-playback/core/lib/recordandplayback/edl/video.rb @@ -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" -- GitLab