improve some debug

This commit is contained in:
Wim Taymans 2018-09-24 09:32:27 +02:00
parent 8a562c4427
commit 132ee30930
2 changed files with 3 additions and 2 deletions

View file

@ -392,6 +392,7 @@ static int negotiate_format(struct impl *impl)
}
spa_pod_fixate(format);
if (pw_log_level_enabled(SPA_LOG_LEVEL_DEBUG))
spa_debug_format(0, NULL, format);
if ((res = spa_node_port_set_param(impl->adapter_mix,

View file

@ -286,7 +286,7 @@ static void core_destroy(void *object, uint32_t id)
struct pw_client *client = resource->client;
struct pw_resource *r;
pw_log_debug("core %p: destroy %d from resource %p", resource->core, id, resource);
pw_log_debug("core %p: destroy resource %d from client %p", resource->core, id, client);
if ((r = pw_client_find_resource(client, id)) == NULL)
goto no_resource;