summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-05 17:30:52 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-05 17:30:52 +0000
commit8e4e1ffb74d6e964222f7f559ca9238897cafbf9 (patch)
tree0c35ec8597f42a1a91f56098c5cfef62f6b11ca5 /mplayer.c
parent936d5df9e05856e888bb92dbe077b3042dc6837a (diff)
downloadmpv-8e4e1ffb74d6e964222f7f559ca9238897cafbf9.tar.bz2
mpv-8e4e1ffb74d6e964222f7f559ca9238897cafbf9.tar.xz
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]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18390 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 34e1bff61a..0487789016 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3694,6 +3694,7 @@ if(!sh_video) {
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;