summaryrefslogtreecommitdiff
path: root/tests/cheese-test-monitor.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2015-07-10 16:05:29 +0200
committerDavid King <amigadave@amigadave.com>2015-08-17 16:37:45 +0100
commit8dda8bf18b5fb82f6b1087dc4e2ccb2415d5611b (patch)
tree3f7ea94e2b6872d5734da7e054133b80bb280d5c /tests/cheese-test-monitor.c
parent88699b2fa0d9f23f13f51b2c461d099d239a0cf2 (diff)
downloadcheese-8dda8bf18b5fb82f6b1087dc4e2ccb2415d5611b.tar.gz
device-monitor: port to GstDeviceMonitor
Use GstDeviceMonitor to monitor the GStreamer devices.
Diffstat (limited to 'tests/cheese-test-monitor.c')
-rw-r--r--tests/cheese-test-monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cheese-test-monitor.c b/tests/cheese-test-monitor.c
index 1afb871a..e2b99170 100644
--- a/tests/cheese-test-monitor.c
+++ b/tests/cheese-test-monitor.c
@@ -10,16 +10,16 @@ added_cb (CheeseCameraDeviceMonitor *monitor,
CheeseCameraDevice *device,
gpointer user_data)
{
- g_message ("Added new device with ID '%s'", cheese_camera_device_get_uuid (device));
+ g_message ("Added new device with name '%s'", cheese_camera_device_get_name (device));
g_object_unref (device);
}
static void
removed_cb (CheeseCameraDeviceMonitor *monitor,
- const gchar *uuid,
+ const gchar *name,
gpointer user_data)
{
- g_message ("Removed device with ID '%s'", uuid);
+ g_message ("Removed device with name '%s'", name);
}
int