summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-04-16 04:14:58 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-04-16 04:14:58 +0000
commit7afe2e86931313653d4dedb6d5167c79c2822aba (patch)
tree7ea20eec716a04aff2be530be0668e2bbbf14cc8
parenteb4dcd80b7778d5765b5bcfc38982ee3d56e2cc1 (diff)
downloadrockbox-7afe2e86931313653d4dedb6d5167c79c2822aba.tar.gz
rockbox-7afe2e86931313653d4dedb6d5167c79c2822aba.zip
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
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index b4b3281225..52d33673f4 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1452,7 +1452,7 @@ static void video_thread(void)
1452 if (frame_drop_level > 1 || offset > CLOCK_RATE*167/1000) 1452 if (frame_drop_level > 1 || offset > CLOCK_RATE*167/1000)
1453 { 1453 {
1454 /* Frame type: I/P/B/D */ 1454 /* Frame type: I/P/B/D */
1455 int type = info->display_picture->flags & PIC_MASK_CODING_TYPE; 1455 int type = info->current_picture->flags & PIC_MASK_CODING_TYPE;
1456 1456
1457 /* Things are running a bit late or all frames are being 1457 /* Things are running a bit late or all frames are being
1458 dropped until a key frame */ 1458 dropped until a key frame */