summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-07-02 16:01:47 +0200
committerWim Taymans <wtaymans@redhat.com>2014-07-02 16:01:47 +0200
commitdb1d9444d67d89d66d0652562cab76b9d438b68e (patch)
treeb0ec72333d691708be1713107189ac763a2c5aef /gst
parenta016f19de8ffb758c87db46be2c636d4ac4bfa44 (diff)
downloadgstreamer-plugins-good-db1d9444d67d89d66d0652562cab76b9d438b68e.tar.gz
rtspsrc: fix for mikey api change
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp/gstrtspsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index caeed748e..e28fb9aea 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);