Sha256: e8e2c29196cdcdbf88bc83978206e5a4379880b764936e41a8af6586d7096c56
Contents?: true
Size: 558 Bytes
Versions: 31
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true require 'ehbrs/videos/unsupported/fixes/supported_codec' module Ehbrs module Videos module Unsupported module Checks class CodecUnsupported TYPE = :stream common_constructor :codec def check(track) return nil unless track.codec_name == codec "Unsupported codec \"#{codec}\" for track #{track}" end def fix ::Ehbrs::Videos::Unsupported::Fixes::SupportedCodec.new end end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems