Sha256: 8e3726ed6f5c7e2f1c74ffb522f117764d7bfe3e063ebe936fce92a731f0198a
Contents?: true
Size: 678 Bytes
Versions: 6
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true module EhbrsRubyUtils module Videos2 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.codec_tag_string.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
6 entries across 6 versions & 1 rubygems