va: Update vapostproc documentation.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 7 Sep 2021 08:55:10 +0000 (10:55 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 10 Sep 2021 15:48:23 +0000 (17:48 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2495>

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

index fca7c53b37fa892388b4393b3a78bb153ae2026b..30cd5ad49d0e0ca8bc2acc15e076ee53aa2f99c7 100644 (file)
                 "description": "VA-API based video postprocessor",
                 "hierarchy": [
                     "GstVaPostProc",
+                    "GstVaBaseTransform",
                     "GstBaseTransform",
                     "GstElement",
                     "GstObject",
                         "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": {
index ebf9e979a244b39d7482d4be568f82fc7b55ab98..3eed9afe322194cb9114d63e82c1d367af43b0d3 100644 (file)
@@ -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",