From 4f0b619023cb58e4be7cd4d01368f780f271bcf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 7 Sep 2021 10:55:10 +0200 Subject: va: Update vapostproc documentation. Part-of: --- docs/plugins/gst_plugins_cache.json | 15 +++++++++++++++ sys/va/gstvafilter.c | 9 +++++++++ 2 files changed, 24 insertions(+) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index fca7c53b3..30cd5ad49 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -225789,6 +225789,7 @@ "description": "VA-API based video postprocessor", "hierarchy": [ "GstVaPostProc", + "GstVaBaseTransform", "GstBaseTransform", "GstElement", "GstObject", @@ -225812,6 +225813,20 @@ "presence": "always" } }, + "properties": { + "disable-passthrough": { + "blurb": "Forces passing buffers through the postprocessor", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "false", + "mutable": "ready", + "readable": true, + "type": "gboolean", + "writable": true + } + }, "rank": "none" }, "vavp8dec": { diff --git a/sys/va/gstvafilter.c b/sys/va/gstvafilter.c index ebf9e979a..3eed9afe3 100644 --- a/sys/va/gstvafilter.c +++ b/sys/va/gstvafilter.c @@ -689,6 +689,15 @@ gst_va_filter_install_properties (GstVaFilter * self, GObjectClass * klass) common_flags)); } + /** + * GstVaPostProc:disable-passthrough: + * + * If set to %TRUE the filter will not enable passthrough mode, thus + * each frame will be processed. It's useful for cropping, for + * example. + * + * Since: 1.20 + */ g_object_class_install_property (klass, GST_VA_FILTER_PROP_DISABLE_PASSTHROUGH, g_param_spec_boolean ("disable-passthrough", "Disable Passthrough", -- cgit v1.2.1