From 81ec9cf596e924036990008a35a971028b336bf2 Mon Sep 17 00:00:00 2001 From: Gusar321 Date: Mon, 13 Jun 2016 14:32:01 +0200 Subject: vo_rpi: fix destroying overlays Commit 74e3d11 resulted in the background overlay not getting destroyed when mpv quits. Add back a piece of code that was removed in that commit to restore correct functionality. Fixes issue #3100 --- video/out/vo_rpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index bbbaae912f..cd37362a30 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -729,6 +729,9 @@ static void uninit(struct vo *vo) destroy_dispmanx(vo); + if (p->update) + vc_dispmanx_update_submit_sync(p->update); + if (p->renderer) mmal_component_release(p->renderer); -- cgit v1.2.3