From 4ef0ef464e20c53eebe803ce514c8b434e837be4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 11 Dec 2020 10:39:15 +0100 Subject: [PATCH] pulse-server: warn for unsupported seek flags --- src/modules/module-protocol-pulse/pulse-server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c index 7a4dcaf33..200072f6a 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c @@ -4756,6 +4756,9 @@ static int handle_memblock(struct client *client, struct message *msg) " flags:%08x size:%u", impl, channel, offset, flags, msg->length); + if (flags != 0) + pw_log_warn(NAME" %p: unhandled seek flags:%02x", impl, flags); + stream = pw_map_lookup(&client->streams, channel); if (stream == NULL || stream->type == STREAM_TYPE_RECORD) { res = -EINVAL;