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

Read UIBC in raw mode

Windows implementation adds spaces to wfd_uibc_capability, deal with it
This commit is contained in:
albfan 2016-10-23 12:14:42 +02:00
parent 87b8e1deb0
commit be95531352

View file

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