summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2021-09-07 11:35:09 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2021-09-10 14:41:27 +0200
commitece5feeb8d713acc633098ed1509c28c1f6ada18 (patch)
tree2c6d7fdcc319aa920e0c9812f53c3f188c57e664 /sys
parent1b30920464fb6147a4ab8beb08cceda0db6582e4 (diff)
va: basetransform: Update documentation.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2495>
Diffstat (limited to 'sys')
-rw-r--r--sys/va/gstvabasetransform.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/va/gstvabasetransform.c b/sys/va/gstvabasetransform.c
index 16a039d4c..13bad4ebd 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 *