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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
This commit is contained in:
Tim-Philipp Müller 2020-06-19 15:31:04 +01:00
parent 616319ed4e
commit 8e93ae65e8
2 changed files with 3 additions and 1 deletions

View file

@ -234436,6 +234436,7 @@
]
},
"GstX265Tune": {
"ignore-enum-members": true,
"kind": "enum",
"values": [
{

View 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