mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02: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:
parent
b00eab525a
commit
81ec9cf596
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user