[farsight2/master] Add agent property
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:08 PST 2008
---
transmitters/nice/fs-nice-transmitter.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/transmitters/nice/fs-nice-transmitter.c b/transmitters/nice/fs-nice-transmitter.c
index bfbe854..64b8fda 100644
--- a/transmitters/nice/fs-nice-transmitter.c
+++ b/transmitters/nice/fs-nice-transmitter.c
@@ -77,6 +77,8 @@ struct _FsNiceTransmitterPrivate
GMainContext *main_context;
GMainLoop *main_loop;
+ NiceAgent *agent;
+
guint compatiblity_mode;
};
@@ -382,6 +384,12 @@ fs_nice_transmitter_dispose (GObject *object)
self->priv->gst_sink = NULL;
}
+ if (self->priv->agent)
+ {
+ g_object_unref (self->priv->agent);
+ self->priv->agent = NULL;
+ }
+
parent_class->dispose (object);
}
--
1.5.6.5
More information about the farsight-commits
mailing list