decoder_api: call _prepare_initial_seek() in decoder_tag()

This checks both conditions: pending and running.  Fixes yet another
assertion failure!
This commit is contained in:
Max Kellermann 2011-10-06 00:35:45 +02:00
parent e07073ff28
commit f67136df19

View File

@ -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 */