Class: FFI::Libav::AVCodecDescriptor
- Inherits:
-
Struct
- Object
- Struct
- FFI::Libav::AVCodecDescriptor
- Defined in:
- lib/ffi/libav.rb
Instance Method Summary collapse
Instance Method Details
#long_name ⇒ Object
1011 1012 1013 |
# File 'lib/ffi/libav.rb', line 1011 def long_name @long_name.get_string(0) end |
#long_name=(str) ⇒ Object
1007 1008 1009 1010 |
# File 'lib/ffi/libav.rb', line 1007 def long_name=(str) @long_name = FFI::MemoryPointer.from_string(str) self[:long_name] = @long_name end |
#name ⇒ Object
1004 1005 1006 |
# File 'lib/ffi/libav.rb', line 1004 def name @name.get_string(0) end |
#name=(str) ⇒ Object
1000 1001 1002 1003 |
# File 'lib/ffi/libav.rb', line 1000 def name=(str) @name = FFI::MemoryPointer.from_string(str) self[:name] = @name end |