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);
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);
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);
GstPad *spad;
gboolean retval;
- g_print ("removing content\n");
+ DEBUG ("removing content");
g_object_get (content, "media-type", &mtype,
"sink-pad", &spad, NULL);
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 ();
{
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...
}
else
{
- g_debug ("Could not link real sink, linked fakesink instead");
+ DEBUG ("Could not link real sink, linked fakesink instead");
}
gst_object_unref (sinkpad);
}
}
else
{
- g_debug ("Could not link real sink, linked fakesink instead");
+ DEBUG ("Could not link real sink, linked fakesink instead");
}
gst_object_unref (sinkpad);
}
#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)
}
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),