aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/wavpack_plugin.c
diff options
context:
space:
mode:
authorLaszlo Ashin <kodest@gmail.com>2008-11-06 06:48:33 +0100
committerMax Kellermann <max@duempel.org>2008-11-06 06:48:33 +0100
commit089c9b7e5caf08f5ee1cda32200ab2c056c3d04c (patch)
treef077631e095226d5e7608ce034b24706a88d3e1d /src/decoder/wavpack_plugin.c
parentdcfb205c46133d214e96446ea584ab6175e266ba (diff)
downloadmpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.tar.gz
mpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.tar.xz
mpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.zip
wavpack: enable seeking
Somehow seeking is disabled on all kinds of wavpack playbacks now in the git version. This patch corrects that.
Diffstat (limited to 'src/decoder/wavpack_plugin.c')
-rw-r--r--src/decoder/wavpack_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index aa5df7b1d..3d390455f 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -164,7 +164,7 @@ static void wavpack_decode(struct decoder * decoder,
samplesreq = sizeof(chunk) / (4 * audio_format.channels);
- decoder_initialized(decoder, &audio_format, false,
+ decoder_initialized(decoder, &audio_format, canseek,
(float)allsamples / audio_format.sample_rate);
position = 0;