projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
693c96d
)
test-fullmode: Only wait for data on component 1
author
Olivier Crête
<olivier.crete@collabora.com>
Thu, 27 Mar 2014 21:49:43 +0000
(17:49 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Thu, 27 Mar 2014 22:05:40 +0000
(18:05 -0400)
tests/test-fullmode.c
patch
|
blob
|
history
diff --git
a/tests/test-fullmode.c
b/tests/test-fullmode.c
index
bd56543
..
3a10d47
100644
(file)
--- 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;