"audio_delay" is 32 bit as defined by protocol.
Signed-off-by: Frediano Ziglio <[email protected]>
---
src/channel-display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/channel-display.c b/src/channel-display.c
index cda0fcdd..542920bb 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -1473,7 +1473,7 @@ static void
display_update_stream_report(SpiceDisplayChannel *channel, uint32_t
if (spice_session_is_playback_active(session)) {
report.audio_delay = spice_session_get_playback_latency(session);
} else {
- report.audio_delay = UINT_MAX;
+ report.audio_delay = UINT32_MAX;
}
msg = spice_msg_out_new(SPICE_CHANNEL(channel),
SPICE_MSGC_DISPLAY_STREAM_REPORT);
--
2.20.1
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel