summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-05-05 17:38:23 +0300
committerAlon Levy <alevy@redhat.com>2013-05-05 22:39:51 +0300
commit52943d65e737842db993a038ee5479bea1b98789 (patch)
tree2955aca70e42edb31de209b071824d86695c4523
parentb71ccec83e97d3add619390623db6b0dfd35fdcd (diff)
downloadspice-52943d65e737842db993a038ee5479bea1b98789.tar.gz
spice-52943d65e737842db993a038ee5479bea1b98789.tar.xz
spice-52943d65e737842db993a038ee5479bea1b98789.zip
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.
-rw-r--r--server/red_worker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 8ba8070a..decbfbbd 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;