player_thread: start decoder thread in player thread

Start the decoder thread when the player thread starts.  The decoder
thread is already stopped by the player thread.
This commit is contained in:
Max Kellermann
2009-01-25 13:44:39 +01:00
parent d628eb3e8b
commit 85f7e964de
2 changed files with 3 additions and 2 deletions

View File

@@ -31,7 +31,6 @@
#include "path.h"
#include "mapper.h"
#include "pipe.h"
#include "decoder_thread.h"
#include "decoder_control.h"
#include "player_control.h"
#include "stats.h"
@@ -261,7 +260,6 @@ int main(int argc, char *argv[])
initZeroconf();
decoder_thread_start();
player_create();
state_file_init(config_get_path(CONF_STATE_FILE));