diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-02 17:13:54 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-02 17:19:51 -0400 |
commit | 98f8bf46df08668159a584522ce1c46c4ff35794 (patch) | |
tree | 27bd7de9b99dfca1d7fe10eb61c673e022fe77e8 /ext/srtp | |
parent | 5a38ae5a834a5a51924d643dcec8624830683238 (diff) | |
download | gstreamer-plugins-bad-98f8bf46df08668159a584522ce1c46c4ff35794.tar.gz |
srtpenc: Remove SSRC from signal, it's meaningless
Diffstat (limited to 'ext/srtp')
-rw-r--r-- | ext/srtp/gstsrtpenc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c index 9e8d3a9f0..3d49eb19e 100644 --- a/ext/srtp/gstsrtpenc.c +++ b/ext/srtp/gstsrtpenc.c @@ -295,7 +295,6 @@ gst_srtp_enc_class_init (GstSrtpEncClass * klass) /** * GstSrtpEnc::soft-limit: * @gstsrtpenc: the element on which the signal is emitted - * @ssrc: The unique SSRC of the stream * * Signal emited when the stream with @ssrc has reached the soft * limit of utilisation of it's master encryption key. User should @@ -303,7 +302,7 @@ gst_srtp_enc_class_init (GstSrtpEncClass * klass) */ gst_srtp_enc_signals[SIGNAL_SOFT_LIMIT] = g_signal_new ("soft-limit", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_UINT); + G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL, G_TYPE_NONE, 0); } @@ -1030,7 +1029,7 @@ gst_srtp_enc_chain (GstPad * pad, GstObject * parent, GstBuffer * buf, } if (gst_srtp_get_soft_limit_reached ()) { - g_signal_emit (filter, gst_srtp_enc_signals[SIGNAL_SOFT_LIMIT], 0, ssrc); + g_signal_emit (filter, gst_srtp_enc_signals[SIGNAL_SOFT_LIMIT], 0); if (filter->random_key && !filter->key_changed) gst_srtp_enc_replace_random_key (filter); } |