Sha256: 58ad66ed3a58cb560a2d036521d47e2fcf2169ad36fd7e1fee95d2ef1a48d72e
Contents?: true
Size: 639 Bytes
Versions: 16
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true require 'ehbrs/videos/unsupported/fixes/supported_codec' module Ehbrs module Videos module Unsupported module Checks class CodecExtraUnsupported common_constructor :codec, :extra def check(track) return nil unless track.codec == codec return nil unless track.extra.downcase.include?(extra.downcase) "Unsupported extra \"#{extra}\" for codec \"#{codec}\" and track #{track}" end def fix ::Ehbrs::Videos::Unsupported::Fixes::SupportedCodec.new end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems