mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
dc5594c575
commit
0c93eaec4f
2 changed files with 17 additions and 0 deletions
|
@ -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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue