From c6ae68b9326f235aa6ee11b62b8e6a9126bb2e22 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 16 Sep 2024 17:01:50 +0200 Subject: [PATCH] adapter: also forward the RequestProcess events --- spa/plugins/audioconvert/audioadapter.c | 3 ++- spa/plugins/videoconvert/videoadapter.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c index 1defaab57..0773ef2f7 100644 --- a/spa/plugins/audioconvert/audioadapter.c +++ b/spa/plugins/audioconvert/audioadapter.c @@ -1360,7 +1360,8 @@ static void follower_event(void *data, const struct spa_event *event) switch (SPA_NODE_EVENT_ID(event)) { case SPA_NODE_EVENT_Error: - /* Forward errors */ + case SPA_NODE_EVENT_RequestProcess: + /* Forward errors and process requests */ spa_node_emit_event(&this->hooks, event); break; default: diff --git a/spa/plugins/videoconvert/videoadapter.c b/spa/plugins/videoconvert/videoadapter.c index 57bd8391f..b8fca8243 100644 --- a/spa/plugins/videoconvert/videoadapter.c +++ b/spa/plugins/videoconvert/videoadapter.c @@ -1333,7 +1333,8 @@ static void follower_event(void *data, const struct spa_event *event) switch (SPA_NODE_EVENT_ID(event)) { case SPA_NODE_EVENT_Error: - /* Forward errors */ + case SPA_NODE_EVENT_RequestProcess: + /* Forward errors and process requests */ spa_node_emit_event(&this->hooks, event); break; default: