1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

Read UIBC capability in raw mode

Some devices send its UIBC capabilities with spaces. Read in raw mode to parse port correctly
This commit is contained in:
Alberto Fanjul 2016-10-28 11:37:16 +02:00 committed by GitHub
parent cedfeeebe1
commit e5795edd04

View file

@ -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, "{<s>}", "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);