mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
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
This commit is contained in:
parent
0a5b4fd7e4
commit
f436476f9f
1 changed files with 2 additions and 0 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue