Sha256: 8445cb66f85efb02809a63d5fdfbc6c13daf77f5737edf0457640173abf9f791
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'ehbrs_ruby_utils/videos/stream' module Ehbrs module Videos class Track < ::SimpleDelegator def extra ffprobe_data.fetch(:codec_tag_string).to_s end def to_s "[#{codec_type}(#{index}): #{codec_name}/#{language || '-'}#{extra.if_present('') do |v| " | #{v}" end}]" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ehbrs-tools-0.39.0 | lib/ehbrs/videos/track.rb |