From 2bf7ec4f3935c68e6d129ffac17820411b3ea44d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:04 +0200 Subject: added decoder_initialized() decoder_initialized() sets the state to DECODE_STATE_DECODE and wakes up the player thread. It is called by the decoder plugin after its internal initialization is finished. More arguments will be added later to prevent direct accesses to the DecoderControl struct. --- src/inputPlugins/flac_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputPlugins/flac_plugin.c') diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index 7c4b8e356..43be1a2b9 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -415,7 +415,7 @@ static int flac_decode_internal(struct decoder * decoder, } } - dc.state = DECODE_STATE_DECODE; + decoder_initialized(decoder); while (1) { if (!flac_process_single(flacDec)) -- cgit v1.2.3