1 From e349a7db681b643beaf8174a32b071292abd980e Mon Sep 17 00:00:00 2001
2 From: Olivier CrĂȘte <olivier.crete@collabora.com>
3 Date: Thu, 27 Feb 2014 23:00:13 +0000
4 Subject: raw: Fix crash where the stream would try to contact its session before its been set
7 (limited to 'gst/fsrawconference')
9 diff --git a/gst/fsrawconference/fs-raw-stream.c b/gst/fsrawconference/fs-raw-stream.c
10 index fe5326b..eb8db74 100644
11 --- a/gst/fsrawconference/fs-raw-stream.c
12 +++ b/gst/fsrawconference/fs-raw-stream.c
13 @@ -436,7 +436,8 @@ fs_raw_stream_set_property (GObject *object,
14 (direction & FS_DIRECTION_SEND) ? TRUE : FALSE, NULL);
17 - fs_raw_session_update_direction (self->priv->session, direction);
18 + if (self->priv->session)
19 + fs_raw_session_update_direction (self->priv->session, direction);
21 GST_OBJECT_LOCK (conference);