diff options
author | Gusar321 <Gusar321@users.noreply.github.com> | 2016-06-13 14:32:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-13 14:48:11 +0200 |
commit | 81ec9cf596e924036990008a35a971028b336bf2 (patch) | |
tree | 956f5dd5aec06244da3b2b72edf7f9d027f68bef | |
parent | b00eab525afb65626b454557824f3f5c9a22b369 (diff) |
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
-rw-r--r-- | video/out/vo_rpi.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |