summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-13 17:12:03 +0200
committerwm4 <wm4@nowhere>2015-08-13 17:23:31 +0200
commita6a585d4708c1852f2bcf55acd34c93ec8b569ff (patch)
tree1490ef855e05aadb208d3bf484df793ec1fafbad
parent0ba44d5fef13c54eb3c2fb508d280e27701b34fb (diff)
downloadmpv-a6a585d4708c1852f2bcf55acd34c93ec8b569ff.tar.bz2
mpv-a6a585d4708c1852f2bcf55acd34c93ec8b569ff.tar.xz
vo_rpi: unregister vsync callback
Small bug, much pain.
-rw-r--r--video/out/vo_rpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c
index b1d520c068..7f716bc7b3 100644
--- a/video/out/vo_rpi.c
+++ b/video/out/vo_rpi.c
@@ -641,8 +641,10 @@ static void uninit(struct vo *vo)
mmal_component_release(p->renderer);
}
- if (p->display)
+ if (p->display) {
+ vc_dispmanx_vsync_callback(p->display, NULL, NULL);
vc_dispmanx_display_close(p->display);
+ }
mmal_vc_deinit();