Sha256: 790b43a89f23fe7a55a984ee9676de973cdf44b58a90df6c05808c4c86c58fd2

Contents?: true

Size: 527 Bytes

Versions: 16

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true

require 'ehbrs/videos/unsupported/fixes/supported_codec'

module Ehbrs
  module Videos
    module Unsupported
      module Checks
        class CodecUnsupported
          common_constructor :codec

          def check(track)
            return nil unless track.codec == 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

16 entries across 16 versions & 1 rubygems

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