summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2015-07-10 10:18:55 +0200
committerWim Taymans <wtaymans@redhat.com>2015-07-10 10:18:55 +0200
commit88699b2fa0d9f23f13f51b2c461d099d239a0cf2 (patch)
treede39671d4889c89a813d89de71dee194c91bc822
parentb17ccbea1cc10846d9c4a945392ed89af11ee8dc (diff)
camera: avoid confusing error messageHEADmaster
Report about the name of the missing element instead of some other unrelated string.
-rw-r--r--libcheese/cheese-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 49cd837f..f15f2163 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -1596,7 +1596,7 @@ cheese_camera_setup (CheeseCamera *camera, const gchar *uuid, GError **error)
if ((video_sink = gst_element_factory_make ("autocluttersink",
"cluttersink")) == NULL)
{
- cheese_camera_set_error_element_not_found (error, "cluttervideosink");
+ cheese_camera_set_error_element_not_found (error, "autocluttersink");
return;
}
g_object_set (G_OBJECT (video_sink), "texture", priv->video_texture,