diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-21 05:27:45 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-21 05:27:45 +0000 |
commit | 045d3cc9b54510d89df91312d7a79ba7263052ae (patch) | |
tree | 213527beee1699f6f697e7841ae012e17b1a8b0f /apps/plugins/mpegplayer | |
parent | 335de0b043cf2f9d624ee564ba63f0f9f2c5daeb (diff) |
mpegplayer: Fix jumping past the frame waiting if Limit FPS is on but Skip Frames is not. Fixes FS#7055 though this was just a general mistake and not limited to the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 6bd5abfa45..d4a5c06da6 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -1436,7 +1436,7 @@ static void video_thread(void) offset = eta_video; eta_video -= offset; - goto picture_draw; + goto picture_wait; } /** Possibly skip this frame **/ @@ -1538,6 +1538,7 @@ static void video_thread(void) skip_level = 1; /* Decoder skip: B */ } + picture_wait: /* Wait until audio catches up */ while (eta_video > eta_audio) { |