[Mplayer-cvslog] CVS: main mplayer.c,1.475,1.476
Alban Bedel CVS
albeu at mplayerhq.hu
Fri Apr 19 08:21:52 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv15944
Modified Files:
mplayer.c
Log Message:
Fix loop playback. Main loop was quited on end of video.
Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.475
retrieving revision 1.476
diff -u -r1.475 -r1.476
--- mplayer.c 18 Apr 2002 16:16:14 -0000 1.475
+++ mplayer.c 19 Apr 2002 06:21:41 -0000 1.476
@@ -1492,6 +1492,7 @@
//-------------------- Decode a frame: -----------------------
vdecode_time=video_time_usage;
+ while(1)
{ unsigned char* start=NULL;
int in_size;
// get it!
@@ -1521,6 +1522,7 @@
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. --------------------
More information about the MPlayer-cvslog
mailing list