# HG changeset patch # User uau # Date 1146850252 0 # Node ID fdface43ee10b9e387b12731e5ba30c77726bd99 # Parent afcecc96ed2d7bc6b0badfac66eda75f14eb255b 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]. diff -r afcecc96ed2d -r fdface43ee10 mplayer.c --- 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;