x265: ignore tune property when diffing generated docs
authorTim-Philipp Müller <tim@centricular.com>
Fri, 19 Jun 2020 14:31:04 +0000 (15:31 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 19 Jun 2020 14:41:51 +0000 (15:41 +0100)
Unfortunately it means those tune enums don't show up in
the docs then, but if that's how it's gotta be..

(Problem at hand is that on Tim's machine x265enc gets an
tune=animation and on the CI machine this doesn't show up.)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>

docs/plugins/gst_plugins_cache.json
ext/x265/gstx265enc.c

index cfdf391..3c45632 100644 (file)
                 ]
             },
             "GstX265Tune": {
+                "ignore-enum-members": true,
                 "kind": "enum",
                 "values": [
                     {
index 60496e3..fb7771c 100644 (file)
@@ -545,7 +545,8 @@ gst_x265_enc_class_init (GstX265EncClass * klass)
 
   gst_type_mark_as_plugin_api (GST_X265_ENC_LOG_LEVEL_TYPE, 0);
   gst_type_mark_as_plugin_api (GST_X265_ENC_SPEED_PRESET_TYPE, 0);
-  gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE, 0);
+  gst_type_mark_as_plugin_api (GST_X265_ENC_TUNE_TYPE,
+      GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS);
 }
 
 /* initialize the new element