Cover the available PipeWire converter and its D-Bus support

This commit is contained in:
saphid committed 2026-09-28 23:09:04 +10:00
1 parent 6104c3f192
commit 838eaa4e6b
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ def build(destination):
'pipewire-0.3/libpipewire-module-client-node.so',
'pipewire-0.3/libpipewire-module-adapter.so',
'spa-0.2/support/libspa-support.so',
'spa-0.2/support/libspa-dbus.so',
'spa-0.2/videoconvert/libspa-videoconvert.so'):
source = libdir / relative
if not source.is_file():
+2 -2
View File
@@ -209,8 +209,8 @@ assert loop, 'bundled SPA loop support did not load'
context = lib.pw_context_new(lib.pw_main_loop_get_loop(loop), None, 0)
assert context, 'bundled PipeWire client modules did not load'
assert lib.pw_context_find_factory(context, b'adapter'), 'video adapter factory is missing'
handle = lib.pw_context_load_spa_handle(context, b'video.convert', None)
assert handle, 'bundled SPA video converter did not load'
handle = lib.pw_context_load_spa_handle(context, b'video.convert.dummy', None)
assert handle, 'bundled SPA passthrough video converter did not load'
lib.pw_unload_spa_handle(handle)
lib.pw_context_destroy(context)
lib.pw_main_loop_destroy(loop)