Mercurial > mplayer.hg
diff mplayer.c @ 18389:fdface43ee10
Don't blit frame if we hit EOF and no new frame is read. Fixes picture
changing back to a previous frame after the last one with some vos.
Patch by Timothy Lee, timothy (.) lee () siriushk com [location of the
added line changed by me].
author | uau |
---|---|
date | Fri, 05 May 2006 17:30:52 +0000 |
parents | d0180ac33e32 |
children | 2113d155c014 |
line wrap: on
line diff
--- a/mplayer.c Fri May 05 11:13:08 2006 +0000 +++ b/mplayer.c Fri May 05 17:30:52 2006 +0000 @@ -3694,6 +3694,7 @@ if(!frame_time_remaining){ //-------------------- Decode a frame: ----------------------- + blit_frame = 0; // Don't blit if we hit EOF vdecode_time=video_time_usage; while(1) { unsigned char* start=NULL;