diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-01-28 13:44:49 +0100 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2012-07-31 16:08:54 +0200 |
commit | 077745926547f0b7f6859072ffa0d45f11692cfe (patch) | |
tree | f8d897f78f03d1a6dd14791e046ef43a31d46a41 | |
parent | 53239894e9e1b033744d9404b1e50f402b935449 (diff) | |
download | farstream-077745926547f0b7f6859072ffa0d45f11692cfe.tar.gz |
debug-msg is gone, remove from tests
-rw-r--r-- | examples/commandline/simple-call-shm.c | 7 | ||||
-rw-r--r-- | tests/check/raw/conference.c | 10 |
2 files changed, 5 insertions, 12 deletions
diff --git a/examples/commandline/simple-call-shm.c b/examples/commandline/simple-call-shm.c index 5d4ac2d3..4dec7061 100644 --- a/examples/commandline/simple-call-shm.c +++ b/examples/commandline/simple-call-shm.c @@ -205,17 +205,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 ("Farstream fatal error: %d %s %s", error, error_msg, - debug_msg); + g_error ("Farstream fatal error: %d %s", error, error_msg) else - g_warning ("Farstream non-fatal error: %d %s %s", error, error_msg, - debug_msg); + g_warning ("Farstream non-fatal error: %d %s", error, error_msg); } else if (gst_structure_has_name (s, "farstream-new-local-candidate")) { diff --git a/tests/check/raw/conference.c b/tests/check/raw/conference.c index 69a80b78..9ed91312 100644 --- a/tests/check/raw/conference.c +++ b/tests/check/raw/conference.c @@ -484,7 +484,7 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data) { const GValue *value; FsError errorno; - const gchar *error, *debug; + const gchar *error; ts_fail_unless ( FS_IS_CONFERENCE (GST_MESSAGE_SRC (message)), @@ -498,17 +498,13 @@ _bus_callback (GstBus *bus, GstMessage *message, gpointer user_data) "farstream-error structure has no src-object field"); ts_fail_unless ( gst_structure_has_field_typed (s, "error-msg", G_TYPE_STRING), - "farstream-error structure has no src-object field"); - ts_fail_unless ( - gst_structure_has_field_typed (s, "debug-msg", G_TYPE_STRING), - "farstream-error structure has no src-object field"); + "farstream-error structure has no error-msg field"); value = gst_structure_get_value (s, "error-no"); errorno = g_value_get_enum (value); error = gst_structure_get_string (s, "error-msg"); - debug = gst_structure_get_string (s, "debug-msg"); - ts_fail ("Error on BUS (%d) %s .. %s", errorno, error, debug); + ts_fail ("Error on BUS (%d) %s", errorno, error); } else if (gst_structure_has_name (s, "farstream-new-local-candidate")) { |