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 61
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 71
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