diff options
Diffstat (limited to 'agent/component.c')
-rw-r--r-- | agent/component.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/component.c b/agent/component.c index 84491e3..dfdba13 100644 --- a/agent/component.c +++ b/agent/component.c @@ -894,7 +894,7 @@ nice_component_emit_io_callback (NiceComponent *component, agent_unlock_and_emit (agent); io_callback (agent, stream_id, component_id, buf_len, (gchar *) buf, io_user_data); - agent_lock (); + agent_lock (agent); } else { IOCallbackData *data; @@ -1210,7 +1210,7 @@ component_source_prepare (GSource *source, gint *timeout_) return FALSE; /* Needed due to accessing the Component. */ - agent_lock (); + agent_lock (agent); if (!agent_find_component (agent, component_source->stream_id, component_source->component_id, NULL, |