Class: Ehbrs::Videos::Unsupported::Checks::CodecUnsupported
- Defined in:
- lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
Constant Summary collapse
- TYPE =
:stream
Instance Method Summary collapse
Instance Method Details
#check(track) ⇒ Object
14 15 16 17 18 |
# File 'lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb', line 14 def check(track) return nil unless track.codec_name == codec "Unsupported codec \"#{codec}\" for track #{track}" end |
#fix ⇒ Object
20 21 22 |
# File 'lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb', line 20 def fix ::Ehbrs::Videos::Unsupported::Fixes::SupportedCodec.new end |