aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 175f343e0..602c48064 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -333,6 +333,8 @@ decoder_thread_start(struct decoder_control *dc)
assert(dc->thread == NULL);
+ dc->quit = false;
+
dc->thread = g_thread_create(decoder_task, dc, true, &e);
if (dc->thread == NULL)
g_error("Failed to spawn decoder task: %s", e->message);