Class: Ehbrs::Videos::Unsupported::Checks::CodecExtraUnlisted
- Defined in:
- lib/ehbrs/videos/unsupported/checks/codec_extra_unlisted.rb
Constant Summary collapse
- TYPE =
:stream
Instance Method Summary collapse
Instance Method Details
#check(track) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/ehbrs/videos/unsupported/checks/codec_extra_unlisted.rb', line 12 def check(track) return nil unless track.codec_name == codec return nil if listed_extras.any? do |extra| track.extra.downcase.include?(extra.downcase) end "Not listed extra for codec \"#{codec}\" (Track: #{track}" \ ", listed extra: #{listed_extras})" end |
#fix ⇒ Object
22 23 24 |
# File 'lib/ehbrs/videos/unsupported/checks/codec_extra_unlisted.rb', line 22 def fix nil end |