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.zip
rockbox-7afe2e86931313653d4dedb6d5167c79c2822aba.tar.gz
rockbox-7afe2e86931313653d4dedb6d5167c79c2822aba.tar.bz2
rockbox-7afe2e86931313653d4dedb6d5167c79c2822aba.tar.xz
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 b4b3281..52d3367 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -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 */