forked from len0rd/rockbox
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
This commit is contained in:
parent
335de0b043
commit
045d3cc9b5
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue