plugin: increment version and avoid inspecting old versions

There are incompatible version 0 plugins around (the compat ones)
that crash spa-inspect. Increment the version number to avoid this.
This commit is contained in:
Wim Taymans 2020-04-22 17:52:54 +02:00
parent 2c76ec5193
commit 539be881ba
2 changed files with 7 additions and 1 deletions

View file

@ -99,7 +99,7 @@ static inline void *spa_support_find(const struct spa_support *support,
struct spa_handle_factory {
/** The version of this structure */
#define SPA_VERSION_HANDLE_FACTORY 0
#define SPA_VERSION_HANDLE_FACTORY 1
uint32_t version;
/**
* The name of the factory contains a logical name that describes