Module: MP4::Metadata::Memoize::Ftyp

Defined in:
lib/mp4/metadata/memoize/ftyp.rb

Class Method Summary collapse

Class Method Details

.call(cache, ftyp) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/mp4/metadata/memoize/ftyp.rb', line 4

def self.call(cache, ftyp)
  cache.add_ftyp(
    major_brand: ftyp.major_brand.to_s,
    minor_version: ftyp.minor_version.to_i,
    compatible_brands: ftyp.compatible_brands.to_s,
  )
end