summaryrefslogtreecommitdiffstats
path: root/server/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/stream.c')
-rw-r--r--server/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/stream.c b/server/stream.c
index afcf722c..e1627762 100644
--- a/server/stream.c
+++ b/server/stream.c
@@ -427,7 +427,7 @@ static void display_channel_create_stream(DisplayChannel *display, Drawable *dra
GSource *source = g_timeout_source_new(RED_STREAM_INPUT_FPS_TIMEOUT);
g_source_set_callback(source, red_stream_input_fps_timer_cb, stream, NULL);
stream->input_fps_timer =
- g_source_attach(source, red_worker_get_context(COMMON_CHANNEL(display)->worker));
+ g_source_attach(source, red_worker_get_context(COMMON_WORKER_CHANNEL(display)->worker));
g_source_unref(source);
stream->num_input_frames = 0;