Sha256: b71ea81991fa344a4c9f5d2c44176ae535b2f0bb1ecc37c2371b2f6e0e99337e
Contents?: true
Size: 626 Bytes
Versions: 16
Compression:
Stored size: 626 Bytes
Contents
# frozen_string_literal: true module Ehbrs module Videos module Unsupported module Checks class CodecExtraUnlisted common_constructor :codec, :listed_extras def check(track) return nil unless track.codec == 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 def fix nil end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems