From: Tim-Philipp Müller Date: Fri, 19 Jun 2020 14:31:04 +0000 (+0100) Subject: x265: ignore tune property when diffing generated docs X-Git-Tag: 1.19.3~507^2~1740 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e93ae65e84d9581243d4474136bbd17681557bc;p=platform%2Fupstream%2Fgstreamer.git x265: ignore tune property when diffing generated docs 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: --- diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index cfdf391..3c45632 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -234436,6 +234436,7 @@ ] }, "GstX265Tune": { + "ignore-enum-members": true, "kind": "enum", "values": [ { diff --git a/ext/x265/gstx265enc.c b/ext/x265/gstx265enc.c index 60496e3..fb7771c 100644 --- a/ext/x265/gstx265enc.c +++ b/ext/x265/gstx265enc.c @@ -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