diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-16 02:52:43 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-06-16 02:52:43 +0000 |
| commit | 014dc784f355f2375a33cc19acc8070035848d29 (patch) | |
| tree | 0ac7cb9f9e0186e6a491f2d2d5cb38323f1c0aad /apps/plugins/jpeg.c | |
| parent | e0f7b7a830cc7695d3f857938a4423ab63b851c4 (diff) | |
| download | rockbox-014dc784f355f2375a33cc19acc8070035848d29.zip rockbox-014dc784f355f2375a33cc19acc8070035848d29.tar.gz rockbox-014dc784f355f2375a33cc19acc8070035848d29.tar.bz2 rockbox-014dc784f355f2375a33cc19acc8070035848d29.tar.xz | |
quick fix for FS#9046 - dont let jpeg.rock enter the playback menu if its using the audiobuffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17727 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
| -rw-r--r-- | apps/plugins/jpeg.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index a05eaa7..4daecd9 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c @@ -2601,7 +2601,14 @@ int show_menu(void) /* return 1 to quit */ #if PLUGIN_BUFFER_SIZE >= MIN_MEM case MIID_SHOW_PLAYBACK_MENU: - playback_control(rb, NULL); + if (plug_buf) + { + playback_control(rb, NULL); + } + else + { + rb->splash(HZ, "Cannot restart playback"); + } break; #endif #ifdef HAVE_LCD_COLOR |