Class: FFI::Libav::AVProbeData

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

Instance Method Summary collapse

Instance Method Details

#filenameObject



2470
2471
2472
# File 'lib/ffi/libav.rb', line 2470

def filename
  @filename.get_string(0)
end

#filename=(str) ⇒ Object



2466
2467
2468
2469
# File 'lib/ffi/libav.rb', line 2466

def filename=(str)
  @filename = FFI::MemoryPointer.from_string(str)
  self[:filename] = @filename
end