0
0
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:
Gusar321 2016-06-13 14:32:01 +02:00 committed by wm4
parent b00eab525a
commit 81ec9cf596

View File

@ -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);