From b1b56533933bc1af3dcaa25d1c6b09187b9f6959 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 13 Mar 2026 12:03:11 +0100 Subject: [PATCH] sendspin: negotiate the first raw format Flac and Opus are not supported yet. --- src/modules/module-sendspin-send.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/module-sendspin-send.c b/src/modules/module-sendspin-send.c index 162f9f47d..2c9f6df22 100644 --- a/src/modules/module-sendspin-send.c +++ b/src/modules/module-sendspin-send.c @@ -729,8 +729,10 @@ static int parse_player_v1_support(struct client *c, struct spa_json *payload) if ((res = parse_codec(c, &it[1], &info)) < 0) return res; - if (count++ == 0) + if (count == 0 && info.media_subtype == SPA_MEDIA_SUBTYPE_raw) { c->info = info; + count++; + } } } else if (spa_streq(key, "buffer_capacity")) {