diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-08-21 15:16:59 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-08-21 15:16:59 +0200 |
commit | 6f5e6568c99326facb2ece5eeb3c06d603099194 (patch) | |
tree | c8689c3f34d378396cf4c8953386318121f3815d | |
parent | dd69b1dd7d843902ca860e61be84bd7eb26519d8 (diff) |
node: warn when we can't set position on a driver
-rw-r--r-- | src/pipewire/node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pipewire/node.c b/src/pipewire/node.c index c439b4f0..a8555bc9 100644 --- a/src/pipewire/node.c +++ b/src/pipewire/node.c @@ -1209,6 +1209,8 @@ int pw_node_set_implementation(struct pw_node *node, sizeof(struct spa_io_position)) >= 0) { pw_log_debug(NAME" %p: set position %p", node, &node->rt.activation->position); node->rt.position = &node->rt.activation->position; + } else if (node->driver) { + pw_log_warn(NAME" %p: can't set position on driver", node); } if (spa_node_set_io(node->node, SPA_IO_Clock, |