diff options
author | Wim Taymans <wtaymans@redhat.com> | 2014-07-02 16:04:53 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2014-07-02 16:04:53 +0200 |
commit | 99f670d8bcecc5286ceaeca8a3fb925d746b21ac (patch) | |
tree | b247420901d6c3d88539d6c91545114e0449db09 | |
parent | 72a57e792f76ae2ade17849a9672014b3bf951fc (diff) |
rtsp: fix for MIKEY api change
-rw-r--r-- | gst/rtsp-server/rtsp-client.c | 4 | ||||
-rw-r--r-- | gst/rtsp-server/rtsp-sdp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index c60ba0a..47c9657 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -1659,7 +1659,7 @@ handle_mikey_data (GstRTSPClient * client, GstRTSPContext * ctx, gst_rtsp_stream_update_crypto (ctx->stream, map->ssrc, caps); gst_caps_unref (caps); } - gst_mikey_message_free (msg); + gst_mikey_message_unref (msg); return TRUE; @@ -1691,7 +1691,7 @@ unsupported_encryption: } cleanup_message: { - gst_mikey_message_free (msg); + gst_mikey_message_unref (msg); return FALSE; } } diff --git a/gst/rtsp-server/rtsp-sdp.c b/gst/rtsp-server/rtsp-sdp.c index 5734278..07aea90 100644 --- a/gst/rtsp-server/rtsp-sdp.c +++ b/gst/rtsp-server/rtsp-sdp.c @@ -296,7 +296,7 @@ make_media (GstSDPMessage * sdp, GstSDPInfo * info, GstRTSPMedia * media, /* now serialize this to bytes */ bytes = gst_mikey_message_to_bytes (msg, NULL, NULL); - gst_mikey_message_free (msg); + gst_mikey_message_unref (msg); /* and make it into base64 */ data = g_bytes_get_data (bytes, &size); base64 = g_base64_encode (data, size); |