class MovieMasher::LayerRaw

base class for a video or image layer

Public Instance Methods

layer_command(scope) click to toggle source
Calls superclass method MovieMasher::Layer#layer_command
# File lib/graphs/layers.rb, line 31
def layer_command(scope)
  scope[:mm_input_dimensions] = @input[:dimensions]
  raise 'no input dimensions' unless scope[:mm_input_dimensions]
  w, h = scope[:mm_input_dimensions].split('x')
  scope[:mm_input_width] = w
  scope[:mm_input_height] = h
  super
end