summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 38bb739046..94dcabf00e 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -822,10 +822,10 @@ static void *vo_thread(void *ptr)
}
wait_vo(vo, wait_until);
}
- vo->driver->uninit(vo);
forget_frames(vo); // implicitly synchronized
talloc_free(in->current_frame);
in->current_frame = NULL;
+ vo->driver->uninit(vo);
return NULL;
}