summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <scarot@twilio.com>2017-08-03 14:40:11 (GMT)
committerPer-Erik Brodin <per-erik.brodin@ericsson.com>2017-08-07 07:22:00 (GMT)
commit4fb39e969c9b312fc5d4b85273dbf7d6a88cb6af (patch)
treeaa1c37e6fe6c3e63c8099a76d3991213c98029dd
parent5f0e1d93779e2b3295a3aa58c0b1326512ea438e (diff)
downloadopenwebrtc-gst-plugins-4fb39e969c9b312fc5d4b85273dbf7d6a88cb6af.tar.gz
openwebrtc-gst-plugins-4fb39e969c9b312fc5d4b85273dbf7d6a88cb6af.tar.xz
Fix bad usage of macros
-rw-r--r--ext/sctp/gstsctpdec.c2
-rw-r--r--ext/sctp/gstsctpenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/sctp/gstsctpdec.c b/ext/sctp/gstsctpdec.c
index 676f7a0..72662e4 100644
--- a/ext/sctp/gstsctpdec.c
+++ b/ext/sctp/gstsctpdec.c
@@ -37,7 +37,7 @@
GST_DEBUG_CATEGORY_STATIC(gst_sctp_dec_debug_category);
#define GST_CAT_DEFAULT gst_sctp_dec_debug_category
-#define gst_sctp_dec_parent_class parent_class
+#define parent_class gst_sctp_dec_parent_class
G_DEFINE_TYPE(GstSctpDec, gst_sctp_dec, GST_TYPE_ELEMENT);
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE("sink", GST_PAD_SINK,
diff --git a/ext/sctp/gstsctpenc.c b/ext/sctp/gstsctpenc.c
index 0d3ddb6..de21f99 100644
--- a/ext/sctp/gstsctpenc.c
+++ b/ext/sctp/gstsctpenc.c
@@ -34,7 +34,7 @@
GST_DEBUG_CATEGORY_STATIC(gst_sctp_enc_debug_category);
#define GST_CAT_DEFAULT gst_sctp_enc_debug_category
-#define gst_sctp_enc_parent_class parent_class
+#define parent_class gst_sctp_enc_parent_class
G_DEFINE_TYPE(GstSctpEnc, gst_sctp_enc, GST_TYPE_ELEMENT);
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE("sink_%u", GST_PAD_SINK,