mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa-monitor: fix the support array
This commit is contained in:
parent
51cc5c328f
commit
b8583799ff
1 changed files with 3 additions and 3 deletions
|
|
@ -157,9 +157,9 @@ int main(int argc, char *argv[])
|
|||
SPA_VERSION_LOOP,
|
||||
&impl_loop, &data);
|
||||
|
||||
data.support[1] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_Log, data.log);
|
||||
data.support[2] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_Loop, &data.main_loop);
|
||||
data.n_support = 3;
|
||||
data.support[0] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_Log, data.log);
|
||||
data.support[1] = SPA_SUPPORT_INIT(SPA_TYPE_INTERFACE_Loop, &data.main_loop);
|
||||
data.n_support = 2;
|
||||
|
||||
if (argc < 2) {
|
||||
printf("usage: %s <plugin.so>\n", argv[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue