test-fullmode: Only wait for data on component 1
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 27 Mar 2014 21:49:43 +0000 (17:49 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 27 Mar 2014 22:05:40 +0000 (18:05 -0400)
tests/test-fullmode.c

index bd56543..3a10d47 100644 (file)
@@ -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;