diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-11-13 08:43:49 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-11-13 08:43:49 +0000 |
commit | 71d346ce8112c46bd794ef1f6082c1abb61c3156 (patch) | |
tree | 002d1553db45b0d49befa28aea725ec3eebf6755 /firmware/mpeg.c | |
parent | 51fc9820c08ddf3a4e52a7d00feb3eee0c1903ef (diff) | |
download | rockbox-71d346ce8112c46bd794ef1f6082c1abb61c3156.tar.gz rockbox-71d346ce8112c46bd794ef1f6082c1abb61c3156.zip |
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
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 5497db26ce..329b6abc0d 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1887,6 +1887,7 @@ void mpeg_stop(void) | |||
1887 | { | 1887 | { |
1888 | #ifndef SIMULATOR | 1888 | #ifndef SIMULATOR |
1889 | queue_post(&mpeg_queue, MPEG_STOP, NULL); | 1889 | queue_post(&mpeg_queue, MPEG_STOP, NULL); |
1890 | yield(); | ||
1890 | #else | 1891 | #else |
1891 | is_playing = false; | 1892 | is_playing = false; |
1892 | playing = false; | 1893 | playing = false; |