From ea5d196c7bf6aad50c875841b9369bb192b8fa06 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 10 Jan 2008 19:38:38 +0000 Subject: [PATCH] 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 --- apps/plugins/mpegplayer/stream_mgr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index 096ac4b0f9..2d4cfb2650 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)