mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
rtsp: fix for MIKEY api change
This commit is contained in:
parent
72a57e792f
commit
99f670d8bc
2 changed files with 3 additions and 3 deletions
|
@ -1659,7 +1659,7 @@ handle_mikey_data (GstRTSPClient * client, GstRTSPContext * ctx,
|
||||||
gst_rtsp_stream_update_crypto (ctx->stream, map->ssrc, caps);
|
gst_rtsp_stream_update_crypto (ctx->stream, map->ssrc, caps);
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
gst_mikey_message_free (msg);
|
gst_mikey_message_unref (msg);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
@ -1691,7 +1691,7 @@ unsupported_encryption:
|
||||||
}
|
}
|
||||||
cleanup_message:
|
cleanup_message:
|
||||||
{
|
{
|
||||||
gst_mikey_message_free (msg);
|
gst_mikey_message_unref (msg);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,7 +296,7 @@ make_media (GstSDPMessage * sdp, GstSDPInfo * info, GstRTSPMedia * media,
|
||||||
|
|
||||||
/* 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