From b58ca88fb9c3c3e1efd5a19c0c339cbe56987655 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 19 Nov 2013 20:18:48 -0500 Subject: [PATCH] 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 --- ext/srtp/gstsrtpenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c index ddd5661..e057efb 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); -- 2.7.4