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:48:11 +02:00
committed by wm4
parent b00eab525a
commit 81ec9cf596
+3
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);