From f67136df1951031a0561383b4421afc0328031d0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 6 Oct 2011 00:35:45 +0200 Subject: decoder_api: call _prepare_initial_seek() in decoder_tag() This checks both conditions: pending and running. Fixes yet another assertion failure! --- src/decoder_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder_api.c') 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 */ -- cgit v1.2.3