From 42a1a76efe43392f37abdac1259b392fee49c3e8 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 29 May 2004 12:05:49 +0000 Subject: fix TIcho's seeking while paused bug git-svn-id: https://svn.musicpd.org/mpd/trunk@1225 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/ogg_decode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ogg_decode.c') diff --git a/src/ogg_decode.c b/src/ogg_decode.c index 409e2868e..60f310fba 100644 --- a/src/ogg_decode.c +++ b/src/ogg_decode.c @@ -242,15 +242,16 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream) } doReplayGain(chunk,ret,&(dc->audioFormat), replayGainScale); - sendDataToOutputBuffer(cb, inStream, dc, chunk, - chunkpos, ov_time_tell(&vf), bitRate); + sendDataToOutputBuffer(cb, inStream, dc, + inStream->seekable, chunk, chunkpos, + ov_time_tell(&vf), bitRate); if(dc->stop) break; chunkpos = 0; } } if(!dc->stop && chunkpos > 0) { - sendDataToOutputBuffer(cb, NULL, dc, chunk, chunkpos, + sendDataToOutputBuffer(cb, NULL, dc, 0, chunk, chunkpos, ov_time_tell(&vf), bitRate); } -- cgit v1.2.3