summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c3
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)
1436 offset = eta_video; 1436 offset = eta_video;
1437 1437
1438 eta_video -= offset; 1438 eta_video -= offset;
1439 goto picture_draw; 1439 goto picture_wait;
1440 } 1440 }
1441 1441
1442 /** Possibly skip this frame **/ 1442 /** Possibly skip this frame **/
@@ -1538,6 +1538,7 @@ static void video_thread(void)
1538 skip_level = 1; /* Decoder skip: B */ 1538 skip_level = 1; /* Decoder skip: B */
1539 } 1539 }
1540 1540
1541 picture_wait:
1541 /* Wait until audio catches up */ 1542 /* Wait until audio catches up */
1542 while (eta_video > eta_audio) 1543 while (eta_video > eta_audio)
1543 { 1544 {