summaryrefslogtreecommitdiff
path: root/ext/srtp
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-11-19 20:18:48 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-11-19 20:18:48 -0500
commitb58ca88fb9c3c3e1efd5a19c0c339cbe56987655 (patch)
tree85e225e088e2815cd78379ca1df58cac7ec4e783 /ext/srtp
parent2b75eb85c4610fdb00e89041946fbc62f0080556 (diff)
downloadgstreamer-plugins-bad-b58ca88fb9c3c3e1efd5a19c0c339cbe56987655.tar.gz
srtpenc: Set the first session flag to false once one is create
Otherwise it always thinks it's the first session. https://bugzilla.gnome.org/show_bug.cgi?id=711495
Diffstat (limited to 'ext/srtp')
-rw-r--r--ext/srtp/gstsrtpenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c
index ddd566112..e057efbdb 100644
--- a/ext/srtp/gstsrtpenc.c
+++ b/ext/srtp/gstsrtpenc.c
@@ -379,6 +379,8 @@ check_new_stream_locked (GstSrtpEnc * filter, guint32 ssrc)
else
ret = srtp_add_stream (filter->session, &policy);
+ filter->first_session = FALSE;
+
if (HAS_CRYPTO (filter))
gst_buffer_unmap (filter->key, &map);