diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-02-18 11:56:55 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-02-18 11:56:55 +0000 |
| commit | f436476f9f0eeae4640197866ea5b5fa068df7e9 (patch) | |
| tree | 4f56123e5ddfa68458fb06de6c4faa4894fdf830 /apps | |
| parent | 0a5b4fd7e423527dba1d7c8031d267bdbb6f1aa9 (diff) | |
| download | rockbox-f436476f9f0eeae4640197866ea5b5fa068df7e9.zip rockbox-f436476f9f0eeae4640197866ea5b5fa068df7e9.tar.gz rockbox-f436476f9f0eeae4640197866ea5b5fa068df7e9.tar.bz2 rockbox-f436476f9f0eeae4640197866ea5b5fa068df7e9.tar.xz | |
Call button_clear_queue() before we start decoding - otherwise "open with" exited immediately
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugins/flac2wav.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/flac2wav.c b/apps/plugins/flac2wav.c index 6fa7940..b9207ee 100644 --- a/apps/plugins/flac2wav.c +++ b/apps/plugins/flac2wav.c @@ -204,6 +204,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) file_info.frames_decoded=0; file_info.start_tick=*(rb->current_tick); + rb->button_clear_queue(); + while (FLAC__seekable_stream_decoder_get_state(flacDecoder)!=2) { FLAC__seekable_stream_decoder_process_single(flacDecoder); file_info.frames_decoded++; |