[Spice-commits] server/video-stream.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 11 09:54:37 UTC 2019


 server/video-stream.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5efc8fc8ad358e74f835ab32f2aeecb024b3c5e7
Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Apr 10 11:25:40 2019 +0200

    video-stream: use the dcc local variable
    
    In update_client_playback_delay()
    
    Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/server/video-stream.c b/server/video-stream.c
index 19795098..ba1a5adf 100644
--- a/server/video-stream.c
+++ b/server/video-stream.c
@@ -675,7 +675,7 @@ static void update_client_playback_delay(void *opaque, uint32_t delay_ms)
     spice_debug("resetting client latency: %u", dcc_get_max_stream_latency(dcc));
     main_dispatcher_set_mm_time_latency(reds_get_main_dispatcher(reds),
                                         client,
-                                        dcc_get_max_stream_latency(agent->dcc));
+                                        dcc_get_max_stream_latency(dcc));
 }
 
 static void bitmap_ref(gpointer data)


More information about the Spice-commits mailing list