aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-06 00:35:45 +0200
committerMax Kellermann <max@duempel.org>2011-10-06 00:35:53 +0200
commitf67136df1951031a0561383b4421afc0328031d0 (patch)
treecf75f5db429be69c01944b713aa06d4ea6aa9055 /src/decoder_api.c
parente07073ff286ed22d4859aba3584285586c7781c8 (diff)
downloadmpd-f67136df1951031a0561383b4421afc0328031d0.tar.gz
mpd-f67136df1951031a0561383b4421afc0328031d0.tar.xz
mpd-f67136df1951031a0561383b4421afc0328031d0.zip
decoder_api: call _prepare_initial_seek() in decoder_tag()
This checks both conditions: pending and running. Fixes yet another assertion failure!
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 3e4917508..6dcca32c2 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -464,7 +464,7 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder, struct input_stream *is,
/* check if we're seeking */
- if (decoder->initial_seek_pending)
+ if (decoder_prepare_initial_seek(decoder))
/* during initial seek, no music chunk must be created
until seeking is finished; skip the rest of the
function here */