summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-26 16:03:42 +0200
committerwm4 <wm4@nowhere>2016-04-26 16:47:53 +0200
commit74e3d11f214de023871e849e121b50e203a5a1c0 (patch)
tree61d3bfa1c4223d11f32314e21310a5f5043c0f7f /bootstrap.py
parentdfa88271a2c76bfbd4dbc3fc87ee81bd0a74ec8e (diff)
downloadmpv-74e3d11f214de023871e849e121b50e203a5a1c0.tar.bz2
mpv-74e3d11f214de023871e849e121b50e203a5a1c0.tar.xz
vo_rpi: attempt to survive display mode changes
Recreate all dispmanx objects after mode changes signalled by the TV callback. This is needed since dispmanx objects are marked as invalid and cease working. One important point is that the vsync callbacks will stop coming when this happens, so restoring the callback is important. Note that the MMAL renderer itself does not get trashed by the firmware on such events, but we completely reconfigure it anyway when it happens.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions