diff --git a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json index 41d8d6ebb7..3b82ef040e 100644 --- a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json @@ -5565,6 +5565,21 @@ "value": "0" } ] + }, + "GstVtencRateControl": { + "kind": "enum", + "values": [ + { + "desc": "Average Bitrate", + "name": "abr", + "value": "0" + }, + { + "desc": "Constant Bitrate", + "name": "cbr", + "value": "1" + } + ] } }, "package": "GStreamer Bad Plug-ins", diff --git a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c index ccc1a4db67..0c3e9aa7dc 100644 --- a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c +++ b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c @@ -531,6 +531,8 @@ gst_vtenc_class_init (GstVTEncClass * klass) VTENC_DEFAULT_PRESERVE_ALPHA, G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); } + + gst_type_mark_as_plugin_api (GST_TYPE_VTENC_RATE_CONTROL, 0); } static void