Class: FFI::Libav::AVOutputFormat

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

Instance Method Summary collapse

Instance Method Details

#extensionsObject



2538
2539
2540
# File 'lib/ffi/libav.rb', line 2538

def extensions
  @extensions.get_string(0)
end

#extensions=(str) ⇒ Object



2534
2535
2536
2537
# File 'lib/ffi/libav.rb', line 2534

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

#interleave_packetObject



2566
2567
2568
# File 'lib/ffi/libav.rb', line 2566

def interleave_packet
  @interleave_packet
end

#interleave_packet=(cb) ⇒ Object



2562
2563
2564
2565
# File 'lib/ffi/libav.rb', line 2562

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

#long_nameObject



2524
2525
2526
# File 'lib/ffi/libav.rb', line 2524

def long_name
  @long_name.get_string(0)
end

#long_name=(str) ⇒ Object



2520
2521
2522
2523
# File 'lib/ffi/libav.rb', line 2520

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

#mime_typeObject



2531
2532
2533
# File 'lib/ffi/libav.rb', line 2531

def mime_type
  @mime_type.get_string(0)
end

#mime_type=(str) ⇒ Object



2527
2528
2529
2530
# File 'lib/ffi/libav.rb', line 2527

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

#nameObject



2517
2518
2519
# File 'lib/ffi/libav.rb', line 2517

def name
  @name.get_string(0)
end

#name=(str) ⇒ Object



2513
2514
2515
2516
# File 'lib/ffi/libav.rb', line 2513

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

#query_codecObject



2573
2574
2575
# File 'lib/ffi/libav.rb', line 2573

def query_codec
  @query_codec
end

#query_codec=(cb) ⇒ Object



2569
2570
2571
2572
# File 'lib/ffi/libav.rb', line 2569

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

#write_headerObject



2545
2546
2547
# File 'lib/ffi/libav.rb', line 2545

def write_header
  @write_header
end

#write_header=(cb) ⇒ Object



2541
2542
2543
2544
# File 'lib/ffi/libav.rb', line 2541

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

#write_packetObject



2552
2553
2554
# File 'lib/ffi/libav.rb', line 2552

def write_packet
  @write_packet
end

#write_packet=(cb) ⇒ Object



2548
2549
2550
2551
# File 'lib/ffi/libav.rb', line 2548

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

#write_trailerObject



2559
2560
2561
# File 'lib/ffi/libav.rb', line 2559

def write_trailer
  @write_trailer
end

#write_trailer=(cb) ⇒ Object



2555
2556
2557
2558
# File 'lib/ffi/libav.rb', line 2555

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