Merge pull request #530 from Rafostar/pipeline-preview-launcher

Ability to show GStreamer pipeline
This commit is contained in:
Rafał Dzięgiel
2025-04-27 13:04:04 +02:00
committed by GitHub
16 changed files with 443 additions and 0 deletions

View File

@@ -94,6 +94,23 @@ clapperapp_c_args = [
'-DGST_USE_UNSTABLE_API',
]
clapperapp_possible_functionalities = [
'pipeline-preview',
]
clapperapp_available_functionalities = []
pp_option = get_option('pipeline-preview')
if not pp_option.disabled()
if cgraph_dep.found() and gvc_dep.found()
clapperapp_c_args += ['-DHAVE_GRAPHVIZ']
clapperapp_deps += [cgraph_dep, gvc_dep]
clapperapp_available_functionalities += 'pipeline-preview'
elif pp_option.enabled()
error('pipeline-preview option was enabled, but required dependencies were not found')
endif
endif
is_windows = ['windows'].contains(host_machine.system())
if is_windows