From: Wim Taymans Date: Wed, 2 Jul 2014 14:01:47 +0000 (+0200) Subject: rtspsrc: fix for mikey api change X-Git-Tag: 1.3.91~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db1d9444d67d89d66d0652562cab76b9d438b68e;p=platform%2Fupstream%2Fgst-plugins-good.git rtspsrc: fix for mikey api change --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index caeed74..e28fb9a 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1839,7 +1839,7 @@ parse_keymgmt (const gchar * keymgmt, GstCaps * caps) res = TRUE; done: - gst_mikey_message_free (msg); + gst_mikey_message_unref (msg); return res; } @@ -6036,7 +6036,7 @@ gst_rtspsrc_stream_make_keymgmt (GstRTSPSrc * src, GstRTSPStream * stream) /* 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);