Sha256: a91db34a0ebbbcd821d9f4a08a404cd1ddd3c3e0f64737476d6ec075857ef584

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

module Ehbrs
  module Videos
    module Unsupported
      module Checks
        class CodecUnlisted
          TYPE = :stream

          common_constructor :listed_codecs

          def check(track)
            return nil if listed_codecs.include?(track.codec)

            "Not listed codec \"#{track.codec}\" (Track: #{track}, listed: #{listed_codecs})"
          end

          def fix
            nil
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ehbrs-tools-0.16.4 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.16.3 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.16.2 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb