From: Víctor Manuel Jáquez Leal Date: Tue, 7 Sep 2021 08:55:10 +0000 (+0200) Subject: va: Update vapostproc documentation. X-Git-Tag: 1.19.3~507^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f0b619023cb58e4be7cd4d01368f780f271bcf5;p=platform%2Fupstream%2Fgstreamer.git va: Update vapostproc documentation. Part-of: --- diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index fca7c53b37..30cd5ad49d 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 ebf9e979a2..3eed9afe32 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",