filter: call the process rt_callback

This commit is contained in:
Wim Taymans 2021-05-29 08:41:37 +02:00
parent e953bb3238
commit 0eb46d8ef4

View file

@ -812,10 +812,10 @@ do_call_process(struct spa_loop *loop,
static void call_process(struct filter *impl) static void call_process(struct filter *impl)
{ {
struct pw_filter *filter = &impl->this;
pw_log_trace(NAME" %p: call process", impl); pw_log_trace(NAME" %p: call process", impl);
if (SPA_FLAG_IS_SET(impl->flags, PW_FILTER_FLAG_RT_PROCESS)) { if (SPA_FLAG_IS_SET(impl->flags, PW_FILTER_FLAG_RT_PROCESS)) {
pw_filter_emit_process(filter, impl->rt.position); spa_callbacks_call(&impl->rt_callbacks, struct pw_filter_events,
process, 0, impl->rt.position);
} }
else { else {
pw_loop_invoke(impl->context->main_loop, pw_loop_invoke(impl->context->main_loop,