From ece5feeb8d713acc633098ed1509c28c1f6ada18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 7 Sep 2021 11:35:09 +0200 Subject: [PATCH] va: basetransform: Update documentation. Part-of: --- docs/plugins/gst_plugins_cache.json | 14 +++++++++++++- sys/va/gstvabasetransform.c | 9 +++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 9d5790f..f034947 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -225831,7 +225831,19 @@ }, "filename": "gstva", "license": "LGPL", - "other-types": {}, + "other-types": { + "GstVaBaseTransform": { + "hierarchy": [ + "GstVaBaseTransform", + "GstBaseTransform", + "GstElement", + "GstObject", + "GInitiallyUnowned", + "GObject" + ], + "kind": "object" + } + }, "package": "GStreamer Bad Plug-ins", "source": "gst-plugins-bad", "tracers": {}, diff --git a/sys/va/gstvabasetransform.c b/sys/va/gstvabasetransform.c index 16a039d..13bad4eb 100644 --- a/sys/va/gstvabasetransform.c +++ b/sys/va/gstvabasetransform.c @@ -43,6 +43,13 @@ struct _GstVaBaseTransformPrivate GstBufferPool *sinkpad_pool; }; +/** + * GstVaBaseTransform: + * + * A base class implementation for VA-API filters. + * + * Since: 1.20 + */ #define gst_va_base_transform_parent_class parent_class G_DEFINE_TYPE_WITH_CODE (GstVaBaseTransform, gst_va_base_transform, GST_TYPE_BASE_TRANSFORM, G_ADD_PRIVATE (GstVaBaseTransform) @@ -583,6 +590,8 @@ gst_va_base_transform_class_init (GstVaBaseTransformClass * klass) GST_DEBUG_FUNCPTR (gst_va_base_transform_set_context); element_class->change_state = GST_DEBUG_FUNCPTR (gst_va_base_transform_change_state); + + gst_type_mark_as_plugin_api (GST_TYPE_VA_BASE_TRANSFORM, 0); } GstAllocator * -- 2.7.4