From 0ab335d041e5593d47079e396c8a449da92fe017 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 19 May 2023 13:25:27 +0200 Subject: [PATCH] stream: improve debug --- src/pipewire/filter.c | 2 +- src/pipewire/stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipewire/filter.c b/src/pipewire/filter.c index 345bcfe31..8ae65d029 100644 --- a/src/pipewire/filter.c +++ b/src/pipewire/filter.c @@ -2042,7 +2042,7 @@ int pw_filter_trigger_process(struct pw_filter *filter) struct filter *impl = SPA_CONTAINER_OF(filter, struct filter, this); int res = 0; - pw_log_trace_fp("%p", impl); + pw_log_trace_fp("%p: driving:%d", impl, impl->driving); if (!impl->driving) { res = pw_loop_invoke(impl->main_loop, diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index 7f4bac171..7a078c6fe 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -2471,7 +2471,7 @@ int pw_stream_trigger_process(struct pw_stream *stream) struct stream *impl = SPA_CONTAINER_OF(stream, struct stream, this); int res = 0; - pw_log_trace_fp("%p", impl); + pw_log_trace_fp("%p: trigger:%d driving:%d", impl, impl->trigger, impl->driving); /* flag to check for old or new behaviour */ impl->using_trigger = true;