[farsight2/master] Protect participant in stream with mutex
Olivier Crête
olivier.crete at collabora.co.uk
Wed Jan 7 17:06:17 PST 2009
---
gst/fsrtpconference/fs-rtp-stream.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index a4eed8a..a562de1 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -322,7 +322,9 @@ fs_rtp_stream_get_property (GObject *object,
g_value_set_object (value, session);
break;
case PROP_PARTICIPANT:
+ FS_RTP_SESSION_LOCK (session);
g_value_set_object (value, self->participant);
+ FS_RTP_SESSION_UNLOCK (session);
break;
case PROP_DIRECTION:
g_value_set_flags (value, self->priv->direction);
--
1.5.6.5
More information about the farsight-commits
mailing list