diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-01-11 00:46:09 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-11 00:46:09 +0000 |
| commit | 753b65737f65296914bcf5055f82272af3ef2e65 (patch) | |
| tree | ff1417794385a6fc675b4692ac9ed989fa45d67b /apps/plugins/mpegplayer/mpeg_parser.c | |
| parent | 59f0e7023c86e64db4e6d95aa501ea5a48a35cdf (diff) | |
| download | rockbox-753b65737f65296914bcf5055f82272af3ef2e65.zip rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.gz rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.bz2 rockbox-753b65737f65296914bcf5055f82272af3ef2e65.tar.xz | |
Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_parser.c')
| -rw-r--r-- | apps/plugins/mpegplayer/mpeg_parser.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_parser.c b/apps/plugins/mpegplayer/mpeg_parser.c index 0259bc9..167f07d 100644 --- a/apps/plugins/mpegplayer/mpeg_parser.c +++ b/apps/plugins/mpegplayer/mpeg_parser.c @@ -1032,28 +1032,7 @@ intptr_t parser_send_video_msg(long id, intptr_t data) break; } - switch (id) - { -#ifdef GRAY_CACHE_MAINT - /* This must be done internally here or refresh may be delayed far - * too long */ - case VIDEO_DISPLAY_SHOW: - case VIDEO_PRINT_FRAME: - case VIDEO_PRINT_THUMBNAIL: - stream_gray_pause(true); - - GRAY_INVALIDATE_ICACHE(); - - retval = str_send_msg(&video_str, id, data); - - GRAY_VIDEO_FLUSH_ICACHE(); - - stream_gray_pause(false); - break; -#endif - default: - retval = str_send_msg(&video_str, id, data); - } + retval = str_send_msg(&video_str, id, data); } return retval; |