mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
docs: Generate ges plugin doc
This commit is contained in:
parent
aca18a29b5
commit
63a49edf1f
7 changed files with 33 additions and 19 deletions
|
@ -89,17 +89,31 @@ libs_doc = [hotdoc.generate_doc('gst-editing-services',
|
||||||
disable_incremental_build: true,
|
disable_incremental_build: true,
|
||||||
)]
|
)]
|
||||||
|
|
||||||
plugins_doc = [hotdoc.generate_doc('nle',
|
plugins_doc = []
|
||||||
|
list_plugin_res = run_command(python3, '-c',
|
||||||
|
'''
|
||||||
|
import sys
|
||||||
|
import json
|
||||||
|
|
||||||
|
with open("@0@") as f:
|
||||||
|
print(':'.join(json.load(f).keys()), end='')
|
||||||
|
'''.format(plugins_cache))
|
||||||
|
|
||||||
|
assert(list_plugin_res.returncode() == 0,
|
||||||
|
'Could not list plugins from @0@\n@1@\n@1@'.format(plugins_cache, list_plugin_res.stdout(), list_plugin_res.stderr()))
|
||||||
|
|
||||||
|
|
||||||
|
foreach plugin_name: list_plugin_res.stdout().split(':')
|
||||||
|
plugins_doc += [hotdoc.generate_doc(plugin_name,
|
||||||
project_version: apiversion,
|
project_version: apiversion,
|
||||||
extra_assets: [join_paths(meson.current_source_dir(), 'images')],
|
sitemap: 'plugins/sitemap.txt',
|
||||||
sitemap: 'nle-sitemap.txt',
|
index: 'plugins/index.md',
|
||||||
index: 'nle-index.md',
|
gst_index: 'plugins/index.md',
|
||||||
dependencies: [nle],
|
|
||||||
disable_incremental_build: true,
|
|
||||||
gst_order_generated_subpages: true,
|
|
||||||
gst_index: 'nle-index.md',
|
|
||||||
gst_c_sources: ['../../plugins/nle/*.[ch]'],
|
|
||||||
gst_smart_index: true,
|
gst_smart_index: true,
|
||||||
|
gst_c_sources: ['../plugins/*/*.[ch]',],
|
||||||
|
dependencies: [gst_dep, plugins],
|
||||||
|
gst_order_generated_subpages: true,
|
||||||
gst_cache_file: plugins_cache,
|
gst_cache_file: plugins_cache,
|
||||||
gst_plugin_name: 'nle',
|
gst_plugin_name: plugin_name,
|
||||||
)]
|
)]
|
||||||
|
endforeach
|
||||||
|
|
|
@ -173,6 +173,7 @@ foreach extra_arg : warning_flags
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
python3 = import('python').find_installation()
|
||||||
configinc = include_directories('.')
|
configinc = include_directories('.')
|
||||||
subdir('ges')
|
subdir('ges')
|
||||||
subdir('plugins')
|
subdir('plugins')
|
||||||
|
@ -209,7 +210,6 @@ else:
|
||||||
prefix, 'Lib', 'Python%d%d' % (version.major, version.minor),
|
prefix, 'Lib', 'Python%d%d' % (version.major, version.minor),
|
||||||
'site-packages', 'gi', 'overrides'))
|
'site-packages', 'gi', 'overrides'))
|
||||||
'''
|
'''
|
||||||
python3 = import('python').find_installation()
|
|
||||||
pygi_override_dir = get_option('pygi-overrides-dir')
|
pygi_override_dir = get_option('pygi-overrides-dir')
|
||||||
if pygi_override_dir == ''
|
if pygi_override_dir == ''
|
||||||
cres = run_command(python3, '-c', override_detector, get_option('prefix'))
|
cres = run_command(python3, '-c', override_detector, get_option('prefix'))
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
*
|
*
|
||||||
|
|
||||||
**
|
**
|
||||||
* SECTION:gessrc
|
* SECTION:element-gessrc
|
||||||
* @short_description: A GstBin subclasses use to use GESTimeline
|
* @short_description: A GstBin subclasses use to use GESTimeline
|
||||||
* as sources inside any GstPipeline.
|
* as sources inside any GstPipeline.
|
||||||
* @see_also: #GESTimeline
|
* @see_also: #GESTimeline
|
||||||
|
|
|
@ -131,7 +131,7 @@ nle_operation_class_init (NleOperationClass * klass)
|
||||||
*
|
*
|
||||||
* Specifies the number of sink pads the operation should provide.
|
* Specifies the number of sink pads the operation should provide.
|
||||||
* If the sinks property is -1 (the default) pads are only created as
|
* If the sinks property is -1 (the default) pads are only created as
|
||||||
* demanded via get_request_pad() calls on the element.
|
* demanded via `get_request_pad()` calls on the element.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, ARG_SINKS,
|
g_object_class_install_property (gobject_class, ARG_SINKS,
|
||||||
g_param_spec_int ("sinks", "Sinks",
|
g_param_spec_int ("sinks", "Sinks",
|
||||||
|
|
Loading…
Reference in a new issue