summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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 6bd5abf..d4a5c06 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)
{