Class: FFI::Libav::AVBitStreamFilter

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

Instance Method Summary collapse

Instance Method Details

#closeObject



2258
2259
2260
# File 'lib/ffi/libav.rb', line 2258

def close
  @close
end

#close=(cb) ⇒ Object



2254
2255
2256
2257
# File 'lib/ffi/libav.rb', line 2254

def close=(cb)
  @close = cb
  self[:close] = @close
end

#filterObject



2251
2252
2253
# File 'lib/ffi/libav.rb', line 2251

def filter
  @filter
end

#filter=(cb) ⇒ Object



2247
2248
2249
2250
# File 'lib/ffi/libav.rb', line 2247

def filter=(cb)
  @filter = cb
  self[:filter] = @filter
end

#nameObject



2244
2245
2246
# File 'lib/ffi/libav.rb', line 2244

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



2240
2241
2242
2243
# File 'lib/ffi/libav.rb', line 2240

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