From be948816d31b7a6e0401cbc7fde09493401bc8fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Sun, 29 May 2022 12:42:52 +0200 Subject: [PATCH] va: Register base classes as abstract. Part-of: --- subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c | 2 +- subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c b/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c index 2b8e77f757..d086e66703 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvabaseenc.c @@ -52,7 +52,7 @@ static GParamSpec *properties[N_PROPERTIES]; */ /* *INDENT-OFF* */ #define gst_va_base_enc_parent_class parent_class -G_DEFINE_TYPE_WITH_CODE (GstVaBaseEnc, gst_va_base_enc, +G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GstVaBaseEnc, gst_va_base_enc, GST_TYPE_VIDEO_ENCODER, G_ADD_PRIVATE (GstVaBaseEnc) GST_DEBUG_CATEGORY_INIT (gst_va_base_enc_debug, "vabaseenc", 0, "vabaseenc element");); diff --git a/subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c b/subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c index cd7f92741d..e5a62396bd 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c @@ -60,7 +60,7 @@ struct _GstVaBaseTransformPrivate * Since: 1.20 */ #define gst_va_base_transform_parent_class parent_class -G_DEFINE_TYPE_WITH_CODE (GstVaBaseTransform, gst_va_base_transform, +G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GstVaBaseTransform, gst_va_base_transform, GST_TYPE_BASE_TRANSFORM, G_ADD_PRIVATE (GstVaBaseTransform) GST_DEBUG_CATEGORY_INIT (gst_va_base_transform_debug, "vabasetransform", 0, "vabasetransform element");