vtenc: Mark rate-control enum as plugin API, and update cache

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8120>
This commit is contained in:
Nirbheek Chauhan 2024-12-09 15:12:57 +05:30 committed by GStreamer Marge Bot
parent dc5594c575
commit 0c93eaec4f
2 changed files with 17 additions and 0 deletions

View file

@ -5565,6 +5565,21 @@
"value": "0" "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", "package": "GStreamer Bad Plug-ins",

View file

@ -531,6 +531,8 @@ gst_vtenc_class_init (GstVTEncClass * klass)
VTENC_DEFAULT_PRESERVE_ALPHA, VTENC_DEFAULT_PRESERVE_ALPHA,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
} }
gst_type_mark_as_plugin_api (GST_TYPE_VTENC_RATE_CONTROL, 0);
} }
static void static void