diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2017-05-23 16:06:47 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2018-10-31 12:12:26 +0000 |
commit | a7de59c359349b47419880699b2e48e132eec5bb (patch) | |
tree | 0336dc3a0840af2863eb884d1542ae0cd70d455b /gst/fsrtpconference/fs-rtp-stream.h | |
parent | 73625a038f308160375bef5ded796fae1a903265 (diff) | |
download | farstream-a7de59c359349b47419880699b2e48e132eec5bb.tar.gz |
rtp: fix a double locking issue on the session
The session value used in fs_rtp_stream_add_substream_unlock(), taken
from the stream struct may be null, while the session value from
fs_rtp_session_new_recv_pad() is not. However these two function depend
on the same session value to properly lock and unlock it: the first
function will unlock the session previously locked by the second
function.
Diffstat (limited to 'gst/fsrtpconference/fs-rtp-stream.h')
-rw-r--r-- | gst/fsrtpconference/fs-rtp-stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/fsrtpconference/fs-rtp-stream.h b/gst/fsrtpconference/fs-rtp-stream.h index a4b3fb23..86674c3b 100644 --- a/gst/fsrtpconference/fs-rtp-stream.h +++ b/gst/fsrtpconference/fs-rtp-stream.h @@ -117,6 +117,7 @@ FsRtpStream *fs_rtp_stream_new (FsRtpSession *session, gboolean fs_rtp_stream_add_substream_unlock (FsRtpStream *stream, FsRtpSubStream *substream, + FsRtpSession *session, GError **error); void |