From a8240c1b5829999c6e242168239db916b9509373 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 2 Oct 2013 20:41:11 +0200 Subject: vo: mark frame lost after seek reset Reverts a small change made in commit ed9295c. This is needed, because otherwise mplayer.c/update_video_attached_pic() thinks it never has to update the picture after initialization. (Maybe there would be more elegant ways to handle this, but not without adding extra state.) --- video/out/vo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') diff --git a/video/out/vo.c b/video/out/vo.c index 0dc60a558d..6892ee5bf6 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -289,6 +289,7 @@ void vo_seek_reset(struct vo *vo) { vo_control(vo, VOCTRL_RESET, NULL); vo->frame_loaded = false; + vo->hasframe = false; mp_image_unrefp(&vo->waiting_mpi); } -- cgit v1.2.3