Commit 951924aa authored by Olivier Crête's avatar Olivier Crête

agent: Add warning on incorrect API usage

parent 32bf4b28
...@@ -2397,6 +2397,8 @@ nice_agent_send ( ...@@ -2397,6 +2397,8 @@ nice_agent_send (
if (!agent_find_component (agent, stream_id, component_id, if (!agent_find_component (agent, stream_id, component_id,
&stream, &component)) { &stream, &component)) {
g_critical ("Unknown stream/component combination: %d:%d",
stream_id, component_id);
goto done; goto done;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment