diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-09-09 18:26:56 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2021-09-10 14:34:32 +0200 |
commit | 1b30920464fb6147a4ab8beb08cceda0db6582e4 (patch) | |
tree | e8c578d40ea2ad8762ba498138473b6f5160038e /sys | |
parent | ef3f53428d3e59e9d2ca048fafe72c73eff6fd61 (diff) | |
download | gstreamer-plugins-bad-1b30920464fb6147a4ab8beb08cceda0db6582e4.tar.gz |
va: basetransform: Add autoptr clean up function.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2495>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/va/gstvabasetransform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/va/gstvabasetransform.h b/sys/va/gstvabasetransform.h index 3dcc0a5cb..61c4acf63 100644 --- a/sys/va/gstvabasetransform.h +++ b/sys/va/gstvabasetransform.h @@ -87,4 +87,6 @@ GstFlowReturn gst_va_base_transform_import_buffer (GstVaBaseTransform * GstBuffer * inbuf, GstBuffer ** buf); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVaBaseTransform, gst_object_unref) + G_END_DECLS |