mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
factory: do more version checks
So that we don't accidentally load an old plugin.
This commit is contained in:
parent
539be881ba
commit
4cb2d58e89
6 changed files with 23 additions and 2 deletions
|
|
@ -184,6 +184,12 @@ int main(int argc, char *argv[])
|
|||
break;
|
||||
}
|
||||
|
||||
if (factory->version < 1) {
|
||||
printf("factories version %d < %d not supported\n",
|
||||
factory->version, 1);
|
||||
continue;
|
||||
}
|
||||
|
||||
for (iidx = 0;;) {
|
||||
const struct spa_interface_info *info;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue