1
0
Fork 0
forked from len0rd/rockbox

Oops. Have to do dropping based on future frame type but based upon the current one's lateness otherwise nice screen garbage can result from dropping/drawing the wrong ones. A small amount of refinement will be needed here later.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13176 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-04-16 04:14:58 +00:00
parent eb4dcd80b7
commit 7afe2e8693

View file

@ -1452,7 +1452,7 @@ static void video_thread(void)
if (frame_drop_level > 1 || offset > CLOCK_RATE*167/1000)
{
/* Frame type: I/P/B/D */
int type = info->display_picture->flags & PIC_MASK_CODING_TYPE;
int type = info->current_picture->flags & PIC_MASK_CODING_TYPE;
/* Things are running a bit late or all frames are being
dropped until a key frame */