Sha256: a46414ff0011cf8e185a467c58ce70951d827b30c2f508a3fae9c22bbeec18da

Contents?: true

Size: 582 Bytes

Versions: 2

Compression:

Stored size: 582 Bytes

Contents

module Ffmprb

  class Process

    class Input

      class ChainBase < Input

        def initialize(unfiltered)
          @io = unfiltered
        end

        def unfiltered; @io; end
        def unfiltered=(input); @io = input; end


        def chain_copy(src_input)  # TODO SPEC ME
          dup.tap do |top|
            top.unfiltered = unfiltered.chain_copy(src_input)
          end
        end

        def filters_for(lbl, video:, audio:)

          # Doing nothing
          unfiltered.filters_for lbl, video: video, audio: audio
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffmprb-0.12.2 lib/ffmprb/process/input/chain_base.rb
ffmprb-0.12.1 lib/ffmprb/process/input/chain_base.rb