diff options
author | Jeremy White <jwhite@codeweavers.com> | 2019-12-30 10:55:42 -0600 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2020-05-06 13:35:08 +0100 |
commit | 7caa3bc579ce2c93946769a21778d58241a0033d (patch) | |
tree | 198960c0df1b773eff63bc7eae670fdea3e2cfb3 | |
parent | 4a54542ca12918ea7df2485c727ef7d02c794741 (diff) |
Tell spice to always stream when we are in full screen mode.
This saves time waiting for spin up.
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | src/spice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spice.c b/src/spice.c index ec24b26..0c6c610 100644 --- a/src/spice.c +++ b/src/spice.c @@ -568,6 +568,9 @@ static void set_options(spice_t *s, options_t *options) if (options->codecs) spice_server_set_video_codecs(s->server, options->codecs); + if (options->full_screen_fps > 0) + spice_server_set_streaming_video(s->server, SPICE_STREAM_VIDEO_ALL); + spice_server_set_exit_on_disconnect(s->server, options->exit_on_disconnect); } |