Fix loop playback. Main loop was quited on end of video.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5699 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2002-04-19 06:21:41 +00:00
parent 05db632e25
commit 123256d736
1 changed files with 2 additions and 0 deletions

View File

@ -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. --------------------