From be955313524c743e32dd25c49f53c9a84f17cc74 Mon Sep 17 00:00:00 2001 From: albfan Date: Sun, 23 Oct 2016 12:14:42 +0200 Subject: [PATCH] Read UIBC in raw mode Windows implementation adds spaces to wfd_uibc_capability, deal with it --- src/ctl/ctl-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctl/ctl-sink.c b/src/ctl/ctl-sink.c index 643352b..77567c4 100644 --- a/src/ctl/ctl-sink.c +++ b/src/ctl/ctl-sink.c @@ -250,7 +250,7 @@ static void sink_handle_set_parameter(struct ctl_sink *s, } /* M4 (or any other) can pass presentation URLs */ - r = rtsp_message_read(m, "{}", "wfd_uibc_capability", &uibc_config); + r = rtsp_message_read(m, "{<&>}", "wfd_uibc_capability", &uibc_config); if (r >= 0) { if (!s->uibc_config || strcmp(s->uibc_config, uibc_config)) { nu = strdup(uibc_config);