reds: Enable mm_time adjustments on startup

Enterprise / Virtualization / SPICE - Francois Gouget [codeweavers.com] - 16 May 2019 07:23 EDT

This reinstates the reds_enable_mm_time() call in do_spice_init() that was removed by commit c541d7e29dc0.

We send mm_time adjustments to the client whenever there is no audio playback. There is no audio playback on startup. Therefore mm_time_enabled must be true on startup. QED.

This fixes adjusting the client mm_time whenever playing a silent
video (or full desktop stream) when no sound has been played before such as when using Xspice, booting an OS with no startup or login jingle, or possibly when migrating a VM (per commit 1c154ea5ecc3).

d09c9b43 reds: Enable mm_time adjustments on startup
server/reds.c | 5 +++++
1 file changed, 5 insertions(+)

Upstream: cgit.freedesktop.org


  • Share