Class: Gst::Device
Overview
The class structure for a Gst::Device object.
Instance Method Summary collapse
-
#caps ⇒ Gst::Caps
Caps.
- #caps=(caps) ⇒ Gst::Caps
-
#create_element(name) ⇒ Gst::Element
Creates the element with all of the required parameters set to use this device.
-
#device_class ⇒ String
Device-class.
- #device_class=(device_class) ⇒ String
-
#display_name ⇒ String
Display-name.
- #display_name=(display_name) ⇒ String
-
#has_classes(classes) ⇒ Boolean
Check if device matches all of the given classes.
-
#has_classesv(classes) ⇒ Boolean
Check if factory matches all of the given classes.
-
#properties ⇒ Gst::Structure
Properties.
- #properties=(properties) ⇒ Gst::Structure
-
#reconfigure_element(element) ⇒ Boolean
Tries to reconfigure an existing element to use the device.
Methods inherited from Object
#add_control_binding, check_uniqueness, #control_bindings_disabled=, #control_rate, #control_rate=, default_deep_notify, #default_error, #get_control_binding, #get_g_value_array, #get_value, #get_value_array, #has_active_control_bindings, #has_ancestor, #has_as_ancestor, #has_as_parent, #name, #name=, #parent, #parent=, #path_string, #ref, ref_sink, #remove_control_binding, replace, #set_control_binding_disabled, #suggest_next_sync, #sync_values, #unparent, #unref
Instance Method Details
#caps ⇒ Gst::Caps
Returns caps.
#caps=(caps) ⇒ Gst::Caps
#create_element(name) ⇒ Gst::Element
Creates the element with all of the required parameters set to use this device. create a unique name. this device
#device_class ⇒ String
Returns device-class.
#device_class=(device_class) ⇒ String
#display_name ⇒ String
Returns display-name.
#display_name=(display_name) ⇒ String
#has_classes(classes) ⇒ Boolean
Check if device matches all of the given classes
#has_classesv(classes) ⇒ Boolean
Check if factory matches all of the given classes
#properties ⇒ Gst::Structure
Returns properties.
#properties=(properties) ⇒ Gst::Structure
#reconfigure_element(element) ⇒ Boolean
Tries to reconfigure an existing element to use the device. If this function fails, then one must destroy the element and create a new one using gst_device_create_element().
Note: This should only be implemented for elements can change their device in the PLAYING state. false otherwise.