Class: Gst::Registry

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

Instance Method Summary collapse

Instance Method Details

#get_features(name_or_type) ⇒ Object



20
21
22
23
24
25
26
27
28
# File 'lib/gst/registry.rb', line 20

def get_features(name_or_type)
  if name_or_type.is_a?(GLib::Type)
    type = name_or_type
    get_feature_list(type)
  else
    name = name_or_type
    get_feature_list_by_plugin(name)
  end
end