wp: fix spa_log_methods version

Wireplumber implements version 0 of spa_log methods. Fixes logging on
current pipewire.
This commit is contained in:
Pauli Virtanen 2021-10-02 15:29:46 +03:00 committed by George Kiagiadakis
parent 24882f37a7
commit 86eecfc7e1

View file

@ -605,7 +605,7 @@ wp_spa_log_log (void *object,
}
static const struct spa_log_methods wp_spa_log_methods = {
SPA_VERSION_LOG_METHODS,
0,
.log = wp_spa_log_log,
.logv = wp_spa_log_logv,
};