mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 10:00:34 +02:00
Cover the available PipeWire converter and its D-Bus support
This commit is contained in:
1 parent
6104c3f192
commit
838eaa4e6b
2 files changed
+3
-2
No files matched your search
@@ -59,6 +59,7 @@ def build(destination):
|
|||||||
'pipewire-0.3/libpipewire-module-client-node.so',
|
'pipewire-0.3/libpipewire-module-client-node.so',
|
||||||
'pipewire-0.3/libpipewire-module-adapter.so',
|
'pipewire-0.3/libpipewire-module-adapter.so',
|
||||||
'spa-0.2/support/libspa-support.so',
|
'spa-0.2/support/libspa-support.so',
|
||||||
|
'spa-0.2/support/libspa-dbus.so',
|
||||||
'spa-0.2/videoconvert/libspa-videoconvert.so'):
|
'spa-0.2/videoconvert/libspa-videoconvert.so'):
|
||||||
source = libdir / relative
|
source = libdir / relative
|
||||||
if not source.is_file():
|
if not source.is_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)
|
context = lib.pw_context_new(lib.pw_main_loop_get_loop(loop), None, 0)
|
||||||
assert context, 'bundled PipeWire client modules did not load'
|
assert context, 'bundled PipeWire client modules did not load'
|
||||||
assert lib.pw_context_find_factory(context, b'adapter'), 'video adapter factory is missing'
|
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)
|
handle = lib.pw_context_load_spa_handle(context, b'video.convert.dummy', None)
|
||||||
assert handle, 'bundled SPA video converter did not load'
|
assert handle, 'bundled SPA passthrough video converter did not load'
|
||||||
lib.pw_unload_spa_handle(handle)
|
lib.pw_unload_spa_handle(handle)
|
||||||
lib.pw_context_destroy(context)
|
lib.pw_context_destroy(context)
|
||||||
lib.pw_main_loop_destroy(loop)
|
lib.pw_main_loop_destroy(loop)
|
||||||
|
|||||||
Reference in new issue
Block a user