summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-25 19:19:42 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2011-10-11 15:36:05 -0400
commita0b8044350a2030402a220555003f24964309d2b (patch)
tree5139e663b1077d45b7c3f8635a9fb56bc72d78f5 /examples
parent6632c4111ce4e03585b18620a14464242ed78467 (diff)
downloadfarstream-a0b8044350a2030402a220555003f24964309d2b.tar.gz
examples: Remove debug-msg
Diffstat (limited to 'examples')
-rw-r--r--examples/commandline/simple-call.c7
-rwxr-xr-xexamples/gui/fs2-gui.py4
2 files changed, 4 insertions, 7 deletions
diff --git a/examples/commandline/simple-call.c b/examples/commandline/simple-call.c
index 98ea4399..0e42bd18 100644
--- a/examples/commandline/simple-call.c
+++ b/examples/commandline/simple-call.c
@@ -202,17 +202,14 @@ async_bus_cb (GstBus *bus, GstMessage *message, gpointer user_data)
{
gint error;
const gchar *error_msg = gst_structure_get_string (s, "error-msg");
- const gchar *debug_msg = gst_structure_get_string (s, "debug-msg");
g_assert (gst_structure_get_enum (s, "error-no", FS_TYPE_ERROR,
&error));
if (FS_ERROR_IS_FATAL (error))
- g_error ("Farsight fatal error: %d %s %s", error, error_msg,
- debug_msg);
+ g_error ("Farsight fatal error: %d %s", error, error_msg);
else
- g_warning ("Farsight non-fatal error: %d %s %s", error, error_msg,
- debug_msg);
+ g_warning ("Farsight non-fatal error: %d %s", error, error_msg);
}
else if (gst_structure_has_name (s, "farsight-new-local-candidate"))
{
diff --git a/examples/gui/fs2-gui.py b/examples/gui/fs2-gui.py
index b27f4d24..d85fcbc5 100755
--- a/examples/gui/fs2-gui.py
+++ b/examples/gui/fs2-gui.py
@@ -180,7 +180,7 @@ class FsUIPipeline:
elif message.structure.has_name("farsight-error"):
- print "Async error ("+ str(message.structure["error-no"]) +"): " + message.structure["error-msg"] +" --- "+ message.structure["debug-msg"]
+ print "Async error ("+ str(message.structure["error-no"]) +"): " + message.structure["error-msg"]
else:
print message.src.get_name(), ": ", message.structure.get_name()
elif message.type != gst.MESSAGE_STATE_CHANGED \
@@ -586,7 +586,7 @@ class FsUIParticipant:
self.cname = cname
self.pipeline = pipeline
self.mainui = mainui
- self.fsparticipant = pipeline.conf.new_participant(cname)
+ self.fsparticipant = pipeline.conf.new_participant()
self.outcv = threading.Condition()
self.funnel = None
self.make_widget()