diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index cfdf391552..3c456322e7 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 60496e3347..fb7771c21f 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