mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user