From 015cb75f6683a09de35bf023bfa37e3bca0d8d46 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 5 Dec 2018 18:36:27 +1100 Subject: [PATCH] tests/webrtc: a couple of debug/error string fixes --- tests/check/elements/webrtcbin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/check/elements/webrtcbin.c b/tests/check/elements/webrtcbin.c index 3e96d52f52..a9f52d6c83 100644 --- a/tests/check/elements/webrtcbin.c +++ b/tests/check/elements/webrtcbin.c @@ -840,7 +840,7 @@ on_sdp_media_direction (struct test_webrtc *t, GstElement * element, fail_unless (g_strcmp0 (attr->key, expected_directions[i]) == 0); } } - fail_unless (have_direction, "no direction attribute in media %u", j); + fail_unless (have_direction, "no direction attribute in media %u", i); } } } @@ -947,7 +947,7 @@ on_sdp_media_setup (struct test_webrtc *t, GstElement * element, fail_unless (g_strcmp0 (attr->value, expected_setup[i]) == 0); } } - fail_unless (have_setup, "no setup attribute in media %u", j); + fail_unless (have_setup, "no setup attribute in media %u", i); } } @@ -2306,7 +2306,7 @@ webrtcbin_suite (void) tcase_add_test (tc, test_bundle_audio_video_data); } else { GST_WARNING ("Some required elements were not found. " - "All datachannel are disabled. sctpenc %p, sctpdec %p", sctpenc, + "All datachannel tests are disabled. sctpenc %p, sctpdec %p", sctpenc, sctpdec); } } else {