diff options
author | wm4 <wm4@nowhere> | 2013-10-02 20:41:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-02 20:41:11 +0200 |
commit | a8240c1b5829999c6e242168239db916b9509373 (patch) | |
tree | 6f4060ac74dccefc6837e92dfd7290559af41c1c /video/out/vo.c | |
parent | 4da7630824d8cf0cfcc2471f45d013ff2866131d (diff) | |
download | mpv-a8240c1b5829999c6e242168239db916b9509373.tar.bz2 mpv-a8240c1b5829999c6e242168239db916b9509373.tar.xz |
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.)
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |