| Top |  |  |  |  | 
| ClutterGstCameraDeviceClutterGstCameraDevice — GObject representing a camera device using GStreamer. | 
| GstElementFactory * | element-factory | Read / Write / Construct Only | 
| gchar * | name | Read / Write / Construct Only | 
| gchar * | node | Read / Write / Construct Only | 
void clutter_gst_camera_device_get_capture_resolution (ClutterGstCameraDevice *device,gint *width,gint *height);
Retrieve the current capture resolution being used by device
.
const gchar *
clutter_gst_camera_device_get_name (ClutterGstCameraDevice *device);
Retrieve the name of the device
.
const gchar *
clutter_gst_camera_device_get_node (ClutterGstCameraDevice *device);
Retrieve the node (location) of the device
.
const GPtrArray *
clutter_gst_camera_device_get_supported_resolutions
                               (ClutterGstCameraDevice *device);
Retrieve the supported resolutions of the device
.
an array of ClutterGstVideoResolution with the supported resolutions.
[transfer none][element-type ClutterGst.VideoResolution]
void clutter_gst_camera_device_set_capture_resolution (ClutterGstCameraDevice *device,gint width,gint height);
Set the capture resolution to be used by device
.
struct ClutterGstCameraDevice;
GObject representing a camera device using GStreamer.
The ClutterGstCameraDevice structure contains only private data and should not be accessed directly.
struct ClutterGstCameraDeviceClass {
};
Base class for ClutterGstCameraDevice.
“element-factory” property“element-factory” GstElementFactory *
The GstElementFactory for this device.
Flags: Read / Write / Construct Only
“name” property“name” gchar *
The device name.
Flags: Read / Write / Construct Only
Default value: NULL
“node” property“node” gchar *
The device node.
Flags: Read / Write / Construct Only
Default value: NULL
“capture-resolution-changed” signalvoid user_function (ClutterGstCameraDevice *device, gint width, gint height, gpointer user_data)
The ::capture-resolution-changed signal is emitted whenever the value of clutter_gst_camera_device_get_capture_resolution changes.
| device | the device which received the signal | |
| width | The new width | |
| height | The new height | |
| user_data | user data set when the signal handler was connected. | 
Flags: Run Last