Sha256: f4c9b2d073d0e0ce4d763115d4e5443b2b99b89d5d178551443eaf39bdc8abd9
Contents?: true
Size: 657 Bytes
Versions: 31
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module Ehbrs module Videos module Unsupported module Checks class CodecExtraUnlisted TYPE = :stream common_constructor :codec, :listed_extras 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 def fix nil end end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems