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



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

def close
  @close
end

#close=(cb) ⇒ Object



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

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

#filterObject



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

def filter
  @filter
end

#filter=(cb) ⇒ Object



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

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

#nameObject



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

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



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

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