forked from len0rd/rockbox
mpeg_stop() now yields to ensure that the mpeg is stopped when it returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2843 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
51fc9820c0
commit
71d346ce81
1 changed files with 1 additions and 0 deletions
|
@ -1887,6 +1887,7 @@ void mpeg_stop(void)
|
|||
{
|
||||
#ifndef SIMULATOR
|
||||
queue_post(&mpeg_queue, MPEG_STOP, NULL);
|
||||
yield();
|
||||
#else
|
||||
is_playing = false;
|
||||
playing = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue