| Top |
| #define | GST_DEVICE() |
| #define | GST_DEVICE_CAST() |
| #define | GST_DEVICE_CLASS() |
| #define | GST_DEVICE_GET_CLASS() |
| #define | GST_IS_DEVICE() |
| #define | GST_IS_DEVICE_CLASS() |
| #define | GST_TYPE_DEVICE |
| GstElement * | gst_device_create_element () |
| GstCaps * | gst_device_get_caps () |
| gchar * | gst_device_get_display_name () |
| gchar * | gst_device_get_klass () |
| GType | gst_device_get_type () |
| gboolean | gst_device_has_classes () |
| gboolean | gst_device_has_classesv () |
| gboolean | gst_device_reconfigure_element () |
#define GST_DEVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_DEVICE, GstDevice))
#define GST_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_DEVICE, GstDeviceClass))
#define GST_DEVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_DEVICE, GstDeviceClass))
#define GST_IS_DEVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_DEVICE))
GstElement * gst_device_create_element (GstDevice *device,const gchar *name);
device |
||
name |
name of new element, or NULL to automatically create a unique name. |
[allow-none] |
Since 1.4
GstCaps *
gst_device_get_caps (GstDevice *device);
Getter for the GstCaps that this device supports.
Since 1.4
gchar *
gst_device_get_display_name (GstDevice *device);
Gets the user-friendly name of the device.
Since 1.4
gchar *
gst_device_get_klass (GstDevice *device);
Gets the "class" of a device. This is a "/" separated list of classes that represent this device. They are a subset of the classes of the GstDeviceMonitor that produced this device.
Since 1.4
gboolean gst_device_has_classes (GstDevice *device,const gchar *classes);
Check if device
matches all of the given classes
device |
||
classes |
a "/" separate list of klasses to match, only match if all classes are matched |
Since 1.4
gboolean gst_device_has_classesv (GstDevice *device,gchar **classes);
Check if factory
matches all of the given classes
Since 1.4
gboolean gst_device_reconfigure_element (GstDevice *device,GstElement *element);
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.
Since 1.4