lib/pipeline/base.rb in tracksperanto-3.4.1 vs lib/pipeline/base.rb in tracksperanto-3.5.0

- old
+ new

@@ -91,9 +91,12 @@ # * height - The comp height, for the case that the format does not support auto size # * parser - The parser class, for the case that it can't be autodetected from the file name # Returns the number of trackers and the number of keyframes processed during the run def run(from_input_file_path, passed_options = {}) + # Prevent formats that we do not support + Tracksperanto::Blacklist.raise_if_format_unsupported(from_input_file_path) + # Check for empty files raise EmptySourceFileError if File.stat(from_input_file_path).size.zero? # Reset stats @converted_keyframes, @converted_points = 0, 0