mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
add some more debug
This commit is contained in:
parent
c4b87aa5e2
commit
4dfd60f838
2 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ static const struct resample_info *find_resample_info(uint32_t format, uint32_t
|
||||||
|
|
||||||
static void impl_native_free(struct resample *r)
|
static void impl_native_free(struct resample *r)
|
||||||
{
|
{
|
||||||
|
spa_log_debug(r->log, "native %p: free", r);
|
||||||
free(r->data);
|
free(r->data);
|
||||||
r->data = NULL;
|
r->data = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,7 @@ static void unref_handle(struct handle *handle)
|
||||||
{
|
{
|
||||||
if (--handle->ref == 0) {
|
if (--handle->ref == 0) {
|
||||||
spa_list_remove(&handle->link);
|
spa_list_remove(&handle->link);
|
||||||
|
pw_log_debug("clear handle '%s'", handle->factory_name);
|
||||||
spa_handle_clear(&handle->handle);
|
spa_handle_clear(&handle->handle);
|
||||||
unref_plugin(handle->plugin);
|
unref_plugin(handle->plugin);
|
||||||
free(handle->factory_name);
|
free(handle->factory_name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue