mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 21:06:00 +00:00
vo_rpi: unregister vsync callback
Small bug, much pain.
This commit is contained in:
parent
0ba44d5fef
commit
a6a585d470
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user