va: Register base classes as abstract.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2521>
This commit is contained in:
Víctor Manuel Jáquez Leal 2022-05-29 12:42:52 +02:00 committed by GStreamer Marge Bot
parent ae9fe4a851
commit be948816d3
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ static GParamSpec *properties[N_PROPERTIES];
*/ */
/* *INDENT-OFF* */ /* *INDENT-OFF* */
#define gst_va_base_enc_parent_class parent_class #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_TYPE_VIDEO_ENCODER, G_ADD_PRIVATE (GstVaBaseEnc)
GST_DEBUG_CATEGORY_INIT (gst_va_base_enc_debug, GST_DEBUG_CATEGORY_INIT (gst_va_base_enc_debug,
"vabaseenc", 0, "vabaseenc element");); "vabaseenc", 0, "vabaseenc element"););

View file

@ -60,7 +60,7 @@ struct _GstVaBaseTransformPrivate
* Since: 1.20 * Since: 1.20
*/ */
#define gst_va_base_transform_parent_class parent_class #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_TYPE_BASE_TRANSFORM, G_ADD_PRIVATE (GstVaBaseTransform)
GST_DEBUG_CATEGORY_INIT (gst_va_base_transform_debug, GST_DEBUG_CATEGORY_INIT (gst_va_base_transform_debug,
"vabasetransform", 0, "vabasetransform element"); "vabasetransform", 0, "vabasetransform element");