[Spice-commits] server/red_worker.c

Alon Levy alon at kemper.freedesktop.org
Sun May 5 12:40:17 PDT 2013


 server/red_worker.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 52943d65e737842db993a038ee5479bea1b98789
Author: Alon Levy <alevy at redhat.com>
Date:   Sun May 5 17:38:23 2013 +0300

    red_worker: remove wrong TODO
    
    red_create_stream is called even without any client but there is no
    encoding since the mjpeg encoder is now associated with StreamAgent
    which is only created when we have a client.

diff --git a/server/red_worker.c b/server/red_worker.c
index 8ba8070..decbfbb 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -3102,8 +3102,6 @@ static void red_stream_input_fps_timer_cb(void *opaque)
     stream->input_fps_timer_start = now;
 }
 
-/* TODO: we create the stream even if dcc is NULL, i.e. no client - or
- * maybe we can't reach this function in that case? question: do we want to? */
 static void red_create_stream(RedWorker *worker, Drawable *drawable)
 {
     DisplayChannelClient *dcc;


More information about the Spice-commits mailing list