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



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

def filename
  @filename.get_string(0)
end

#filename=(str) ⇒ Object



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

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