[cheese] cheese-camera: Print debug of messages



commit 85aeb22a30b271cc67e66aa75ed82f8e8ca0973e
Author: Luciana Fujii Pontello <luciana fujii collabora co uk>
Date:   Thu May 5 16:45:16 2011 -0300

    cheese-camera: Print debug of messages

 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 8b988b1..5a41eef 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -172,7 +172,7 @@ cheese_camera_bus_message_cb (GstBus *bus, GstMessage *message, CheeseCamera *ca
       gst_message_parse_warning (message, &err, &debug);
 
       if (err && err->message) {
-        g_warning ("%s\n", err->message);
+        g_warning ("%s: %s\n", err->message, debug);
         g_error_free (err);
       } else {
         g_warning ("Unparsable GST_MESSAGE_WARNING message.\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]