Class: Gst::Caps

Inherits:
Object
  • Object
show all
Defined in:
lib/gst/caps.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.anyObject



20
21
22
23
24
# File 'lib/gst/caps.rb', line 20

def any
  caps = allocate
  caps.__send__(:initialize_new_any)
  caps
end

.emptyObject



26
27
28
29
30
# File 'lib/gst/caps.rb', line 26

def empty
  caps = allocate
  caps.__send__(:initialize_new_empty)
  caps
end

Instance Method Details

#structuresObject



33
34
35
36
37
# File 'lib/gst/caps.rb', line 33

def structures
  size.times.collect do |i|
    get_structure(i)
  end
end