Class: BMFF::Box::URIMetaSampleEntry
- Inherits:
-
MetaDataSampleEntry
- Object
- Base
- SampleEntry
- MetaDataSampleEntry
- BMFF::Box::URIMetaSampleEntry
- Includes:
- Container
- Defined in:
- lib/bmff/box/uri_meta_sample_entry.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#mpeg4_bit_rate_box ⇒ Object
Returns the value of attribute mpeg4_bit_rate_box.
-
#uri_box ⇒ Object
Returns the value of attribute uri_box.
-
#uri_init_box ⇒ Object
Returns the value of attribute uri_init_box.
Attributes included from Container
Attributes inherited from SampleEntry
#data_reference_index, #reserved1
Attributes inherited from Base
#io, #largesize, #offset, #parent, #size, #type, #usertype
Instance Method Summary collapse
Methods included from Container
#add_child, #container?, #find, #find_all, #parse_children, #select_descendants
Methods inherited from Base
#actual_size, #container?, #eob?, #parse, register_box, #remaining_size, #seek_to_end
Instance Attribute Details
#mpeg4_bit_rate_box ⇒ Object
Returns the value of attribute mpeg4_bit_rate_box.
5 6 7 |
# File 'lib/bmff/box/uri_meta_sample_entry.rb', line 5 def mpeg4_bit_rate_box @mpeg4_bit_rate_box end |
#uri_box ⇒ Object
Returns the value of attribute uri_box.
5 6 7 |
# File 'lib/bmff/box/uri_meta_sample_entry.rb', line 5 def uri_box @uri_box end |
#uri_init_box ⇒ Object
Returns the value of attribute uri_init_box.
5 6 7 |
# File 'lib/bmff/box/uri_meta_sample_entry.rb', line 5 def uri_init_box @uri_init_box end |
Instance Method Details
#parse_data ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/bmff/box/uri_meta_sample_entry.rb', line 9 def parse_data super @uri_box = BMFF::Box.get_box(io, self, BMFF::Box::URI) add_child @uri_box until eob? box = BMFF::Box.get_box(io, self) add_child box case box when BMFF::Box::URIInit @uri_init_box = box when BMFF::Box::BitRate @mpeg4_bit_rate_box = box end end end |