forked from len0rd/rockbox
Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d1cb32a93f
commit
a5fc3f4df4
18 changed files with 1341 additions and 105 deletions
|
@ -1012,15 +1012,17 @@ intptr_t parser_send_video_msg(long id, intptr_t data)
|
|||
switch (id)
|
||||
{
|
||||
case VIDEO_DISPLAY_SHOW:
|
||||
if (data != 0 && stream_status() != STREAM_PLAYING)
|
||||
if (data != 0 && disk_buf_status() == STREAM_STOPPED)
|
||||
{ /* Only prepare image if showing and not playing */
|
||||
prepare_image(str_parser.last_seek_time);
|
||||
}
|
||||
break;
|
||||
|
||||
case VIDEO_PRINT_FRAME:
|
||||
if (data)
|
||||
break;
|
||||
case VIDEO_PRINT_THUMBNAIL:
|
||||
if (stream_status() == STREAM_PLAYING)
|
||||
if (disk_buf_status() != STREAM_STOPPED)
|
||||
break; /* Prepare image if not playing */
|
||||
|
||||
if (!prepare_image(str_parser.last_seek_time))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue