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

Version Path
ehbrs-tools-0.39.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.38.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.37.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.36.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.35.1 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.35.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.34.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.33.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.32.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.31.1 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.31.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.30.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.29.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.28.3 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.28.2 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.28.1 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.28.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.27.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.26.0 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb
ehbrs-tools-0.25.1 lib/ehbrs/videos/unsupported/checks/codec_unsupported.rb