Class: EhbrsRubyUtils::Videos2::Unsupported::Checks::CodecUnsupported
- Inherits:
-
Object
- Object
- EhbrsRubyUtils::Videos2::Unsupported::Checks::CodecUnsupported
- Defined in:
- lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb
Constant Summary collapse
- TYPE =
:stream
Instance Method Summary collapse
Instance Method Details
#check(track) ⇒ Object
12 13 14 15 16 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb', line 12 def check(track) return nil unless track.codec_name == codec "Unsupported codec \"#{codec}\" for track #{track}" end |
#fix ⇒ Object
18 19 20 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/checks/codec_unsupported.rb', line 18 def fix ::EhbrsRubyUtils::Videos2::Unsupported::Fixes::SupportedCodec.new end |