class MovieMasher::LayerRawImage

a raw image layer

Public Instance Methods

initialize_chains() click to toggle source
Calls superclass method MovieMasher::Layer#initialize_chains
# File lib/graphs/layers.rb, line 48
def initialize_chains
  chain = Chain.new(nil, @job_input)
  @filter_movie = FilterSourceImage.new(@input, @job_input)
  chain << @filter_movie
  @filter_timestamps = FilterSetpts.new
  chain << @filter_timestamps
  @chains << chain
  super
end
layer_command(scope) click to toggle source
Calls superclass method MovieMasher::LayerRaw#layer_command
# File lib/graphs/layers.rb, line 57
def layer_command(scope)
  unless @input[:cached_file]
    raise(Error::JobInput, "no cached_file #{@input}")
  end
  @filter_timestamps.disabled = (Type::VIDEO != scope[:mm_output][:type])
  super
end