Sha256: d94aa63d5af0cf70058630c7c83111d6c3dbca737bd987ffd3923d99ecda5457
Contents?: true
Size: 713 Bytes
Versions: 6
Compression:
Stored size: 713 Bytes
Contents
# frozen_string_literal: true require 'ehbrs_ruby_utils/videos2/unsupported/fixes/supported_codec' module EhbrsRubyUtils module Videos2 module Unsupported module Checks class CodecExtraUnsupported TYPE = :stream common_constructor :codec, :extra def check(track) return nil unless track.codec_name == codec return nil unless track.codec_tag_string.downcase.include?(extra.downcase) "Unsupported extra \"#{extra}\" for codec \"#{codec}\" and track #{track}" end def fix ::EhbrsRubyUtils::Videos2::Unsupported::Fixes::SupportedCodec.new end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems