summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 7869a8dfc9..05b1a009cb 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1492,6 +1492,7 @@ if(!sh_video) {
//-------------------- Decode a frame: -----------------------
vdecode_time=video_time_usage;
+ while(1)
{ unsigned char* start=NULL;
int in_size;
// get it!
@@ -1521,6 +1522,7 @@ if(!sh_video) {
current_module="decode_video";
// printf("Decode! %p %d \n",start,in_size);
blit_frame=decode_video(sh_video,start,in_size,drop_frame);
+ break;
}
vdecode_time=video_time_usage-vdecode_time;
//------------------------ frame decoded. --------------------