Class: FFI::Libav::AVCodecDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi/libav.rb

Instance Method Summary collapse

Instance Method Details

#long_nameObject



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

#nameObject



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