class BMFF::Box::MovieExtendsHeader

vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:

Attributes

fragment_duration[RW]

Public Instance Methods

parse_data() click to toggle source
Calls superclass method BMFF::Box::Full#parse_data
# File lib/bmff/box/movie_extends_header.rb, line 8
def parse_data
  super
  if version == 1
    @fragment_duration = io.get_uint64
  else
    @fragment_duration = io.get_uint32
  end
end