srt: doc: Add missing gst_type_mark_as_plugin_api

This commit is contained in:
Thibault Saunier 2020-06-08 14:56:31 -04:00
parent af26b95c29
commit ebababae03
2 changed files with 59 additions and 1 deletions

View file

@ -225670,7 +225670,63 @@
},
"filename": "gstsrt",
"license": "LGPL",
"other-types": {},
"other-types": {
"GstSRTConnectionMode": {
"kind": "enum",
"values": [
{
"desc": "GST_SRT_CONNECTION_MODE_NONE",
"name": "none",
"value": "0"
},
{
"desc": "GST_SRT_CONNECTION_MODE_CALLER",
"name": "caller",
"value": "1"
},
{
"desc": "GST_SRT_CONNECTION_MODE_LISTENER",
"name": "listener",
"value": "2"
},
{
"desc": "GST_SRT_CONNECTION_MODE_RENDEZVOUS",
"name": "rendezvous",
"value": "3"
}
]
},
"GstSRTKeyLength": {
"kind": "enum",
"values": [
{
"desc": "GST_SRT_KEY_LENGTH_NO_KEY",
"name": "no-key",
"value": "0"
},
{
"desc": "GST_SRT_KEY_LENGTH_0",
"name": "0",
"value": "0"
},
{
"desc": "GST_SRT_KEY_LENGTH_16",
"name": "16",
"value": "16"
},
{
"desc": "GST_SRT_KEY_LENGTH_24",
"name": "24",
"value": "24"
},
{
"desc": "GST_SRT_KEY_LENGTH_32",
"name": "32",
"value": "32"
}
]
}
},
"package": "GStreamer Bad Plug-ins git",
"source": "gst-plugins-bad",
"tracers": {},

View file

@ -417,6 +417,7 @@ gst_srt_object_install_properties_helper (GObjectClass * gobject_class)
GST_SRT_CONNECTION_MODE_CALLER,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
gst_type_mark_as_plugin_api (GST_TYPE_SRT_CONNECTION_MODE, 0);
/**
* GstSRTSrc:localaddress:
@ -466,6 +467,7 @@ gst_srt_object_install_properties_helper (GObjectClass * gobject_class)
GST_SRT_DEFAULT_PBKEYLEN,
G_PARAM_READWRITE | GST_PARAM_MUTABLE_READY |
G_PARAM_STATIC_STRINGS));
gst_type_mark_as_plugin_api (GST_TYPE_SRT_KEY_LENGTH, 0);
/**
* GstSRTSrc:poll-timeout: