Class: MediaInfoNative::BaseStream
- Inherits:
-
Object
- Object
- MediaInfoNative::BaseStream
- Extended by:
- AttrReaders
- Defined in:
- lib/mediainfo-native/base_stream.rb,
ext/mediainfo_native/basestream.cpp
Direct Known Subclasses
AudioStream, BaseStreamWithFramerate, GeneralStream, ImageStream, MenuStream, TextStream
Constant Summary collapse
- TYPES =
[:general, :video, :audio, :image, :menu, :text, :other]
Instance Method Summary collapse
Methods included from AttrReaders
mediainfo_attr_reader, mediainfo_date_reader, mediainfo_duration_reader, mediainfo_int_reader, supported_attribute, supported_attributes
Instance Method Details
#stream_type ⇒ Object
7 8 9 |
# File 'lib/mediainfo-native/base_stream.rb', line 7 def stream_type /(\w+)Stream/.match(self.class.name)[1].downcase.to_sym end |