diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-29 12:05:49 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-29 12:05:49 +0000 |
commit | 42a1a76efe43392f37abdac1259b392fee49c3e8 (patch) | |
tree | 9b7fed815f8847b4cb32c40813751fe5a37099f8 /src/mp4_decode.c | |
parent | ccfff4f0f4bb0ba04cc19a6bc341208acfc5747d (diff) | |
download | mpd-42a1a76efe43392f37abdac1259b392fee49c3e8.tar.gz mpd-42a1a76efe43392f37abdac1259b392fee49c3e8.tar.xz mpd-42a1a76efe43392f37abdac1259b392fee49c3e8.zip |
fix TIcho's seeking while paused bug
git-svn-id: https://svn.musicpd.org/mpd/trunk@1225 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/mp4_decode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mp4_decode.c b/src/mp4_decode.c index 71ae21d5e..e83200451 100644 --- a/src/mp4_decode.c +++ b/src/mp4_decode.c @@ -26,6 +26,7 @@ #include "log.h" #include "pcm_utils.h" #include "inputStream.h" +#include "outputBuffer.h" #include "mp4ff/mp4ff.h" @@ -279,7 +280,7 @@ int mp4_decode(OutputBuffer * cb, DecoderControl * dc) { sampleBuffer+=offset*channels*2; - sendDataToOutputBuffer(cb, NULL, dc, sampleBuffer, + sendDataToOutputBuffer(cb, NULL, dc, 1, sampleBuffer, sampleBufferLen, time, bitRate); if(dc->stop) { eof = 1; |