summaryrefslogtreecommitdiff
path: root/ext/srtp/gstsrtp.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2013-06-28 20:32:36 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-06-28 20:35:15 -0400
commit47a6118fbcb8019fa6b0b828fc64e2c7fdf613f3 (patch)
tree11bbfb6cd0e485d5d76428bc382e9bb85d2c24a1 /ext/srtp/gstsrtp.c
parent4d7a186513a7ceb597e718ca876dee53874d8480 (diff)
downloadgstreamer-plugins-bad-47a6118fbcb8019fa6b0b828fc64e2c7fdf613f3.tar.gz
srtp: Move the enums to the common header
The types are used in both the encoder and decoder
Diffstat (limited to 'ext/srtp/gstsrtp.c')
-rw-r--r--ext/srtp/gstsrtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/srtp/gstsrtp.c b/ext/srtp/gstsrtp.c
index c108de2cc..427db7cf5 100644
--- a/ext/srtp/gstsrtp.c
+++ b/ext/srtp/gstsrtp.c
@@ -172,8 +172,8 @@ rtcp_buffer_get_ssrc (GstBuffer * buf, guint32 * ssrc)
}
void
-set_crypto_policy_cipher_auth (guint cipher, guint auth,
- crypto_policy_t * policy)
+set_crypto_policy_cipher_auth (GstSrtpCipherType cipher,
+ GstSrtpAuthType auth, crypto_policy_t * policy)
{
switch (cipher) {
case GST_SRTP_CIPHER_AES_128_ICM: