[farsight2/master] Lock the object, not the list..
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:10 PST 2008
---
gst/fsrtpconference/fs-rtp-conference.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index dda965c..c061864 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -348,9 +348,9 @@ fs_rtp_conference_get_session_by_id (FsRtpConference *self, guint session_id)
{
FsRtpSession *session = NULL;
- GST_OBJECT_LOCK (self->priv->sessions);
+ GST_OBJECT_LOCK (self);
session = fs_rtp_conference_get_session_by_id_locked (self, session_id);
- GST_OBJECT_UNLOCK (self->priv->sessions);
+ GST_OBJECT_UNLOCK (self);
return session;
}
--
1.5.6.5
More information about the farsight-commits
mailing list