Class: BMFF::Box::MovieExtendsHeader
- Defined in:
- lib/bmff/box/movie_extends_header.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#fragment_duration ⇒ Object
Returns the value of attribute fragment_duration.
Attributes inherited from Full
Attributes inherited from Base
#io, #largesize, #offset, #parent, #size, #type, #usertype
Instance Method Summary collapse
Methods inherited from Base
#actual_size, #container?, #eob?, #parse, register_box, #remaining_size, #seek_to_end
Instance Attribute Details
#fragment_duration ⇒ Object
Returns the value of attribute fragment_duration.
5 6 7 |
# File 'lib/bmff/box/movie_extends_header.rb', line 5 def fragment_duration @fragment_duration end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 |
# 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 |