aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 16:28:23 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:09 +0800
commit54af9bea4d1e1f4e15207969f2ab89a012ad4d10 (patch)
tree056efb204743fa43e424b3872efd4e946772005c
parent043b2fec4b21707ef62aebc3d80fc54c319e90f2 (diff)
downloadgsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar.gz
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar.bz2
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar.lz
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar.xz
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.tar.zst
gsoc2013-empathy-54af9bea4d1e1f4e15207969f2ab89a012ad4d10.zip
Turn g_prints into DEBUGs
-rw-r--r--src/empathy-call-handler.c8
-rw-r--r--src/empathy-call-window.c6
-rw-r--r--src/empathy-streamed-media-window.c2
-rw-r--r--src/empathy-video-src.c5
4 files changed, 12 insertions, 9 deletions
diff --git a/src/empathy-call-handler.c b/src/empathy-call-handler.c
index 18d0d1f9e..1db5a34ef 100644
--- a/src/empathy-call-handler.c
+++ b/src/empathy-call-handler.c
@@ -656,7 +656,7 @@ empathy_call_handler_bus_message (EmpathyCallHandler *handler,
FsCodec *codec;
FsSession *session;
- g_print ("empathy_call_handler_bus_message: farsight-send-codec-changed\n");
+ DEBUG ("farsight-send-codec-changed");
val = gst_structure_get_value (s, "codec");
codec = g_value_get_boxed (val);
@@ -673,7 +673,7 @@ empathy_call_handler_bus_message (EmpathyCallHandler *handler,
GList *codecs;
FsStream *stream;
- g_print ("empathy_call_handler_bus_message: farsight-recv-codecs-changed\n");
+ DEBUG ("farsight-recv-codecs-changed");
val = gst_structure_get_value (s, "codecs");
codecs = g_value_get_boxed (val);
@@ -690,7 +690,7 @@ empathy_call_handler_bus_message (EmpathyCallHandler *handler,
FsCandidate *remote_candidate, *local_candidate;
FsStream *stream;
- g_print ("empathy_call_handler_bus_message: farsight-new-active-candidate-pair\n");
+ DEBUG ("farsight-new-active-candidate-pair");
val = gst_structure_get_value (s, "remote-candidate");
remote_candidate = g_value_get_boxed (val);
@@ -821,7 +821,7 @@ on_tf_channel_content_removed_cb (TfChannel *tfchannel,
GstPad *spad;
gboolean retval;
- g_print ("removing content\n");
+ DEBUG ("removing content");
g_object_get (content, "media-type", &mtype,
"sink-pad", &spad, NULL);
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 9d4fe5201..3dbac9e44 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1731,7 +1731,7 @@ empathy_call_window_conference_added_cb (EmpathyCallHandler *handler,
FsElementAddedNotifier *notifier;
GKeyFile *keyfile;
- g_debug ("Conference added");
+ DEBUG ("Conference added");
/* Add notifier to set the various element properties as needed */
notifier = fs_element_added_notifier_new ();
@@ -1938,7 +1938,7 @@ empathy_call_window_sink_removed_cb (EmpathyCallHandler *handler,
{
EmpathyCallWindowPriv *priv = GET_PRIV (self);
- g_print ("window: removing content\n");
+ DEBUG ("removing content");
/*
* This assumes that there is only one video stream per channel...
@@ -2449,7 +2449,7 @@ empathy_call_window_src_added_cb (EmpathyCallHandler *handler,
}
else
{
- g_debug ("Could not link real sink, linked fakesink instead");
+ DEBUG ("Could not link real sink, linked fakesink instead");
}
gst_object_unref (sinkpad);
}
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index 3b4935712..cb6f07135 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -2503,7 +2503,7 @@ empathy_streamed_media_window_src_added_cb (EmpathyStreamedMediaHandler *handler
}
else
{
- g_debug ("Could not link real sink, linked fakesink instead");
+ DEBUG ("Could not link real sink, linked fakesink instead");
}
gst_object_unref (sinkpad);
}
diff --git a/src/empathy-video-src.c b/src/empathy-video-src.c
index 5c865daaa..15d8f79e1 100644
--- a/src/empathy-video-src.c
+++ b/src/empathy-video-src.c
@@ -24,6 +24,9 @@
#include <gst/interfaces/colorbalance.h>
+#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
+#include <libempathy/empathy-debug.h>
+
#include "empathy-video-src.h"
G_DEFINE_TYPE(EmpathyGstVideoSrc, empathy_video_src, GST_TYPE_BIN)
@@ -143,7 +146,7 @@ empathy_video_src_init (EmpathyGstVideoSrc *obj)
}
str = gst_caps_to_string (caps);
- g_debug ("Current video src caps are : %s", str);
+ DEBUG ("Current video src caps are : %s", str);
g_free (str);
if ((element = empathy_gst_add_to_bin (GST_BIN (obj),