forked from len0rd/rockbox
mpegplayer on grayscale targets: use greylib to display all text and graphics with the video images.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16042 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
81cf8b4d3b
commit
75380fd27d
9 changed files with 263 additions and 260 deletions
|
@ -1032,7 +1032,28 @@ intptr_t parser_send_video_msg(long id, intptr_t data)
|
|||
break;
|
||||
}
|
||||
|
||||
retval = str_send_msg(&video_str, id, data);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue