mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
videoconvert: Add videoconvert-vulkan
This commit is contained in:
parent
87736cc685
commit
0af8a47058
17 changed files with 3586 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <spa/support/plugin.h>
|
||||
|
||||
extern const struct spa_handle_factory spa_videoadapter_factory;
|
||||
extern const struct spa_handle_factory spa_videoconvert_vulkan_factory;
|
||||
|
||||
SPA_EXPORT
|
||||
int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t *index)
|
||||
|
|
@ -18,6 +19,9 @@ int spa_handle_factory_enum(const struct spa_handle_factory **factory, uint32_t
|
|||
case 0:
|
||||
*factory = &spa_videoadapter_factory;
|
||||
break;
|
||||
case 1:
|
||||
*factory = &spa_videoconvert_vulkan_factory;
|
||||
break;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue