diff options
author | Thom Johansen <thomj@rockbox.org> | 2005-10-10 18:20:40 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2005-10-10 18:20:40 +0000 |
commit | 849c2bbd9f5b489160f3de41e87af50b5a3fe414 (patch) | |
tree | 747eadd9f8ba49a83e0a52f92780441b257e4c1b /apps/playback.c | |
parent | 0f91ef7a376910b874330668037be2c48ef3e01b (diff) |
seek_time should be reset here, not in each codec, as is currently done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 6a6461ce97..9de87782c8 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -633,6 +633,8 @@ off_t codec_mp3_get_filepos_callback(int newtime) void codec_seek_complete_callback(void) { + /* assume we're called from non-voice codec, as they shouldn't seek */ + ci.seek_time = 0; pcmbuf_flush_audio(); } |