va: basetransform: Update documentation.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 7 Sep 2021 09:35:09 +0000 (11:35 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 10 Sep 2021 12:41:27 +0000 (14:41 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2495>

docs/plugins/gst_plugins_cache.json
sys/va/gstvabasetransform.c

index 9d5790f..f034947 100644 (file)
         },
         "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": {},
index 16a039d..13bad4e 100644 (file)
@@ -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 *