mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 22:22:33 -05:00
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:
parent
eb4dcd80b7
commit
7afe2e8693
1 changed files with 1 additions and 1 deletions
|
|
@ -1452,7 +1452,7 @@ static void video_thread(void)
|
||||||
if (frame_drop_level > 1 || offset > CLOCK_RATE*167/1000)
|
if (frame_drop_level > 1 || offset > CLOCK_RATE*167/1000)
|
||||||
{
|
{
|
||||||
/* Frame type: I/P/B/D */
|
/* 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
|
/* Things are running a bit late or all frames are being
|
||||||
dropped until a key frame */
|
dropped until a key frame */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue