summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-01-10 19:38:38 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-01-10 19:38:38 +0000
commitea5d196c7bf6aad50c875841b9369bb192b8fa06 (patch)
tree6518a985331dfdc1b56d55b919b526866cc77357 /apps/plugins/mpegplayer
parentcfdbbc49147aa48b9e1e369211923b6c5f1f5421 (diff)
downloadrockbox-ea5d196c7bf6aad50c875841b9369bb192b8fa06.zip
rockbox-ea5d196c7bf6aad50c875841b9369bb192b8fa06.tar.gz
rockbox-ea5d196c7bf6aad50c875841b9369bb192b8fa06.tar.bz2
rockbox-ea5d196c7bf6aad50c875841b9369bb192b8fa06.tar.xz
Fully clone the gray_show(false) procedure without the forced lcd update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16048 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r--apps/plugins/mpegplayer/stream_mgr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c
index 096ac4b..2d4cfb2 100644
--- a/apps/plugins/mpegplayer/stream_mgr.c
+++ b/apps/plugins/mpegplayer/stream_mgr.c
@@ -742,7 +742,11 @@ void stream_gray_pause(bool pause)
if (_grey_info.flags & _GREY_RUNNING)
{
rb->timer_unregister();
+#if defined(CPU_PP) && defined(HAVE_ADJUSTABLE_CPU_FREQ)
+ rb->cpu_boost(false);
+#endif
_grey_info.flags &= ~_GREY_RUNNING;
+ rb->screen_dump_set_hook(NULL);
gray_paused = true;
}
}
@@ -754,7 +758,7 @@ void stream_gray_pause(bool pause)
}
#endif
-#endif
+#endif /* !HAVE_LCD_COLOR */
/* Display a thumbnail at the last seek point */
bool stream_display_thumb(const struct vo_rect *rc)