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:
parent
cedfeeebe1
commit
e5795edd04
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue