[farsight2/master] nice: Use stream_id from arguments
Olivier Crête
olivier.crete at collabora.co.uk
Tue Jun 16 14:58:05 PDT 2009
---
transmitters/nice/fs-nice-stream-transmitter.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 876e00e..070229f 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -1503,14 +1503,13 @@ agent_new_candidate (NiceAgent *agent,
GST_DEBUG ("New candidate found for stream %u component %u",
stream_id, component_id);
- candidates = nice_agent_get_local_candidates (agent,
- self->priv->stream_id, component_id);
+ candidates = nice_agent_get_local_candidates (agent, stream_id, component_id);
for (item = candidates; item; item = g_slist_next (item))
{
NiceCandidate *candidate = item->data;
- if (!strcmp (item->data, foundation))
+ if (!strcmp (candidate->foundation, foundation))
{
fscandidate = nice_candidate_to_fs_candidate (agent, candidate, TRUE);
break;
--
1.5.6.5
More information about the farsight-commits
mailing list