[cheese] camera: avoid confusing error message
- From: Wim Taymans <wtaymans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] camera: avoid confusing error message
- Date: Fri, 10 Jul 2015 08:29:01 +0000 (UTC)
commit 88699b2fa0d9f23f13f51b2c461d099d239a0cf2
Author: Wim Taymans <wtaymans redhat com>
Date: Fri Jul 10 10:18:55 2015 +0200
camera: avoid confusing error message
Report about the name of the missing element instead of some other
unrelated string.
libcheese/cheese-camera.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 49cd837..f15f216 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]