From e5795edd0459ea13a409c93f8e7b0ea1e263819d Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Fri, 28 Oct 2016 11:37:16 +0200 Subject: [PATCH] Read UIBC capability in raw mode Some devices send its UIBC capabilities with spaces. Read in raw mode to parse port correctly --- 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 486456c..4580ecb 100644 --- a/src/ctl/ctl-sink.c +++ b/src/ctl/ctl-sink.c @@ -248,7 +248,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);