mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
rtspsrc: fix for mikey api change
This commit is contained in:
parent
a016f19de8
commit
db1d9444d6
1 changed files with 2 additions and 2 deletions
|
@ -1839,7 +1839,7 @@ parse_keymgmt (const gchar * keymgmt, GstCaps * caps)
|
||||||
|
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
done:
|
done:
|
||||||
gst_mikey_message_free (msg);
|
gst_mikey_message_unref (msg);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -6036,7 +6036,7 @@ gst_rtspsrc_stream_make_keymgmt (GstRTSPSrc * src, GstRTSPStream * stream)
|
||||||
|
|
||||||
/* now serialize this to bytes */
|
/* now serialize this to bytes */
|
||||||
bytes = gst_mikey_message_to_bytes (msg, NULL, NULL);
|
bytes = gst_mikey_message_to_bytes (msg, NULL, NULL);
|
||||||
gst_mikey_message_free (msg);
|
gst_mikey_message_unref (msg);
|
||||||
/* and make it into base64 */
|
/* and make it into base64 */
|
||||||
data = g_bytes_get_data (bytes, &size);
|
data = g_bytes_get_data (bytes, &size);
|
||||||
base64 = g_base64_encode (data, size);
|
base64 = g_base64_encode (data, size);
|
||||||
|
|
Loading…
Reference in a new issue