docs: mark more types as plugin API

This commit is contained in:
Mathieu Duponchelle 2020-06-23 02:50:35 +02:00 committed by Thibault Saunier
parent 65ee7f0d41
commit ceece207e0
3 changed files with 97 additions and 4 deletions

View file

@ -23612,6 +23612,99 @@
"filename": "gstvideo4linux2",
"license": "LGPL",
"other-types": {
"GstTuner": {
"hierarchy": [
"GstTuner",
"GInterface"
],
"kind": "interface",
"signals": {
"channel-changed": {
"args": [
{
"name": "arg0",
"type": "GstTunerChannel"
}
],
"return-type": "void",
"when": "last"
},
"frequency-changed": {
"args": [
{
"name": "arg0",
"type": "GstTunerChannel"
},
{
"name": "arg1",
"type": "gulong"
}
],
"return-type": "void",
"when": "last"
},
"norm-changed": {
"args": [
{
"name": "arg0",
"type": "GstTunerNorm"
}
],
"return-type": "void",
"when": "last"
},
"signal-changed": {
"args": [
{
"name": "arg0",
"type": "GstTunerChannel"
},
{
"name": "arg1",
"type": "gint"
}
],
"return-type": "void",
"when": "last"
}
}
},
"GstTunerChannel": {
"hierarchy": [
"GstTunerChannel",
"GObject"
],
"kind": "object",
"signals": {
"frequency-changed": {
"args": [
{
"name": "arg0",
"type": "gulong"
}
],
"return-type": "void",
"when": "last"
},
"signal-changed": {
"args": [
{
"name": "arg0",
"type": "gint"
}
],
"return-type": "void",
"when": "last"
}
}
},
"GstTunerNorm": {
"hierarchy": [
"GstTunerNorm",
"GObject"
],
"kind": "object"
},
"GstV4l2DeviceTypeFlags": {
"kind": "flags",
"values": [

View file

@ -128,8 +128,6 @@ gst_tuner_default_init (GstTunerInterface * iface)
* @signal: The new signal strength (an integer)
*
* Reports that the signal strength has changed.
*
* See Also: gst_tuner_signal_strength()
*/
gst_tuner_signals[SIGNAL_CHANGED] =
g_signal_new ("signal-changed",
@ -137,6 +135,10 @@ gst_tuner_default_init (GstTunerInterface * iface)
G_STRUCT_OFFSET (GstTunerInterface, signal_changed),
NULL, NULL, NULL, G_TYPE_NONE, 2, GST_TYPE_TUNER_CHANNEL, G_TYPE_INT);
gst_type_mark_as_plugin_api (GST_TYPE_TUNER, 0);
gst_type_mark_as_plugin_api (GST_TYPE_TUNER_CHANNEL, 0);
gst_type_mark_as_plugin_api (GST_TYPE_TUNER_NORM, 0);
initialized = TRUE;
}

View file

@ -77,8 +77,6 @@ gst_tuner_channel_class_init (GstTunerChannelClass * klass)
* @signal: The new signal strength (an integer)
*
* Reports that the signal strength has changed.
*
* See Also: gst_tuner_signal_strength()
*/
signals[SIGNAL_SIGNAL_CHANGED] =
g_signal_new ("signal-changed", G_TYPE_FROM_CLASS (klass),