Sha256: c1b17fe418486aa492eb2b65e09dae263e9d280614ec650d118b857010eb998a

Contents?: true

Size: 463 Bytes

Versions: 16

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

module Ehbrs
  module Videos
    module Unsupported
      module Checks
        class CodecUnlisted
          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

16 entries across 16 versions & 1 rubygems

Version Path
ehbrs-tools-0.16.1 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.16.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.15.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.14.1 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.14.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.13.1 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.13.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.12.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.11.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.10.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.9.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.7.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.6.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.5.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.3.1 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb
ehbrs-tools-0.3.0 lib/ehbrs/videos/unsupported/checks/codec_unlisted.rb