adapter: also forward the RequestProcess events

This commit is contained in:
Wim Taymans 2024-09-16 17:01:50 +02:00
parent 42df643e0c
commit c6ae68b932
2 changed files with 4 additions and 2 deletions

View file

@ -1360,7 +1360,8 @@ static void follower_event(void *data, const struct spa_event *event)
switch (SPA_NODE_EVENT_ID(event)) { switch (SPA_NODE_EVENT_ID(event)) {
case SPA_NODE_EVENT_Error: case SPA_NODE_EVENT_Error:
/* Forward errors */ case SPA_NODE_EVENT_RequestProcess:
/* Forward errors and process requests */
spa_node_emit_event(&this->hooks, event); spa_node_emit_event(&this->hooks, event);
break; break;
default: default:

View file

@ -1333,7 +1333,8 @@ static void follower_event(void *data, const struct spa_event *event)
switch (SPA_NODE_EVENT_ID(event)) { switch (SPA_NODE_EVENT_ID(event)) {
case SPA_NODE_EVENT_Error: case SPA_NODE_EVENT_Error:
/* Forward errors */ case SPA_NODE_EVENT_RequestProcess:
/* Forward errors and process requests */
spa_node_emit_event(&this->hooks, event); spa_node_emit_event(&this->hooks, event);
break; break;
default: default: