aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player_thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index c8f4f69f1..d150c4303 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -19,6 +19,7 @@
#include "player_thread.h"
#include "player_control.h"
#include "decoder_control.h"
+#include "decoder_thread.h"
#include "audio.h"
#include "pcm_volume.h"
#include "path.h"
@@ -507,6 +508,8 @@ static void do_play(void)
static gpointer player_task(G_GNUC_UNUSED gpointer arg)
{
+ decoder_thread_start();
+
while (1) {
switch (pc.command) {
case PLAYER_COMMAND_PLAY: