summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-03-27 17:49:43 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-03-27 18:05:40 -0400
commit64e7a425ee2e8ae6b6a6c7a0f24c3367c6f6e997 (patch)
tree58639274662cdc222a6fc4a41b8952cb609240a3 /tests
parent693c96dc692f65828da798fc4aea8932818a6ccc (diff)
downloadlibnice-64e7a425ee2e8ae6b6a6c7a0f24c3367c6f6e997.tar.gz
test-fullmode: Only wait for data on component 1
Diffstat (limited to 'tests')
-rw-r--r--tests/test-fullmode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-fullmode.c b/tests/test-fullmode.c
index bd56543..3a10d47 100644
--- a/tests/test-fullmode.c
+++ b/tests/test-fullmode.c
@@ -176,6 +176,9 @@ static void cb_nice_recv (NiceAgent *agent, guint stream_id, guint component_id,
if (strncmp ("12345678", buf, 8))
return;
+ if (component_id == 2)
+ return;
+
if (GPOINTER_TO_UINT (user_data) == 2) {
g_debug ("right agent received %d bytes, stopping mainloop", len);
global_ragent_read = len;