Class: FFI::Libav::AVSubtitleRect

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

Instance Method Summary collapse

Instance Method Details

#assObject



2043
2044
2045
# File 'lib/ffi/libav.rb', line 2043

def ass
  @ass.get_string(0)
end

#ass=(str) ⇒ Object



2039
2040
2041
2042
# File 'lib/ffi/libav.rb', line 2039

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

#textObject



2036
2037
2038
# File 'lib/ffi/libav.rb', line 2036

def text
  @text.get_string(0)
end

#text=(str) ⇒ Object



2032
2033
2034
2035
# File 'lib/ffi/libav.rb', line 2032

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