class MovieMasher::LayerRaw

base class for a video or image layer LayerRawVideo, LayerRawImage

Public Instance Methods

inputs() click to toggle source
# File lib/graphs/layers.rb, line 44
def inputs
  @filter_movie.inputs
end
layer_command(scope) click to toggle source
Calls superclass method MovieMasher::Layer#layer_command
# File lib/graphs/layers.rb, line 48
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