protocol-native: debug connection after remap

This commit is contained in:
Wim Taymans 2018-03-01 18:31:56 +01:00
parent ea182ba194
commit 992f20f805

View file

@ -559,6 +559,10 @@ on_remote_data(void *data, int fd, enum spa_io mask)
continue; continue;
} }
} }
if (debug_messages) {
printf("<<<<<<<<< in: %d %d %d\n", id, opcode, size);
spa_debug_pod((struct spa_pod *)message, 0);
}
if (demarshal[opcode].func(proxy, message, size) < 0) { if (demarshal[opcode].func(proxy, message, size) < 0) {
pw_log_error ("protocol-native %p: invalid message received %u for %u", this, pw_log_error ("protocol-native %p: invalid message received %u for %u", this,
opcode, id); opcode, id);