diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-10-28 13:54:45 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-10-28 15:18:58 +0000 |
commit | 16d51b09cf43349c10dae93b9a45de5180de5213 (patch) | |
tree | a39dfa97128fd1b40f80aa6032ea7de4b13d379d /agent/stream.c | |
parent | da41258a21102f63ec5d5b2dc20d303f772eb195 (diff) | |
download | libnice-16d51b09cf43349c10dae93b9a45de5180de5213.tar.gz |
agent: Remove explicit parent pointers
Remove all pointers that don't include have a reference except to agents
Diffstat (limited to 'agent/stream.c')
-rw-r--r-- | agent/stream.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/stream.c b/agent/stream.c index 533ff15..c1bd87b 100644 --- a/agent/stream.c +++ b/agent/stream.c @@ -58,13 +58,15 @@ nice_stream_finalize (GObject *obj); * @brief ICE stream functionality */ NiceStream * -nice_stream_new (guint n_components, NiceAgent *agent) +nice_stream_new (guint stream_id, guint n_components, NiceAgent *agent) { NiceStream *stream = NULL; guint n; stream = g_object_new (NICE_TYPE_STREAM, NULL); + stream->id = stream_id; + /* Create the components. */ for (n = 0; n < n_components; n++) { NiceComponent *component = NULL; |