From 1f662b24a29e5fcb628103e200766d56e3b5691f Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 10 Sep 2018 23:25:36 +1000 Subject: sctp*meta: fix api define in gst_sctp_buffer_get_*_meta() --- gst-libs/gst/sctp/sctpreceivemeta.h | 2 +- gst-libs/gst/sctp/sctpsendmeta.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/sctp/sctpreceivemeta.h b/gst-libs/gst/sctp/sctpreceivemeta.h index b651b95ac..5a508370c 100644 --- a/gst-libs/gst/sctp/sctpreceivemeta.h +++ b/gst-libs/gst/sctp/sctpreceivemeta.h @@ -50,7 +50,7 @@ GST_SCTP_API GstSctpReceiveMeta *gst_sctp_buffer_add_receive_meta (GstBuffer * buffer, guint32 ppid); -#define gst_sctp_buffer_get_receive_meta(b) ((GstSctpReceiveMeta *)gst_buffer_get_meta((b), GST_SCTP_RECEIVE_META_TYPE)) +#define gst_sctp_buffer_get_receive_meta(b) ((GstSctpReceiveMeta *)gst_buffer_get_meta((b), GST_SCTP_RECEIVE_META_API_TYPE)) G_END_DECLS diff --git a/gst-libs/gst/sctp/sctpsendmeta.h b/gst-libs/gst/sctp/sctpsendmeta.h index a45f77fbd..b1860e52f 100644 --- a/gst-libs/gst/sctp/sctpsendmeta.h +++ b/gst-libs/gst/sctp/sctpsendmeta.h @@ -62,7 +62,7 @@ GstSctpSendMeta *gst_sctp_buffer_add_send_meta (GstBuffer * buffer, guint32 ppid, gboolean ordered, GstSctpSendMetaPartiallyReliability pr, guint32 pr_param); -#define gst_sctp_buffer_get_send_meta(b) ((GstSctpSendMeta *)gst_buffer_get_meta((b), GST_SCTP_SEND_META_TYPE)) +#define gst_sctp_buffer_get_send_meta(b) ((GstSctpSendMeta *)gst_buffer_get_meta((b), GST_SCTP_SEND_META_API_TYPE)) G_END_DECLS -- cgit v1.2.3