Sha256: 5bcb639db7a96026cb7467c1d2f0539399815dd684d679490ada08dc0de59156
Contents?: true
Size: 709 Bytes
Versions: 11
Compression:
Stored size: 709 Bytes
Contents
module Ffmprb class Process class Input def video Channeled.new self, audio: false end def audio Channeled.new self, video: false end class Channeled < ChainBase def initialize(unfiltered, video: true, audio: true) super unfiltered @limited_channels = {video: video, audio: audio} end def channel(medium) super(medium) if @limited_channels[medium] end def filters_for(lbl, video:, audio:) # Doing nothing unfiltered.filters_for lbl, video: channel?(:video) && video, audio: channel?(:audio) && audio end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems