diff options
author | wm4 <wm4@nowhere> | 2016-04-26 16:03:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-26 16:47:53 +0200 |
commit | 74e3d11f214de023871e849e121b50e203a5a1c0 (patch) | |
tree | 61d3bfa1c4223d11f32314e21310a5f5043c0f7f /sub/sd.h | |
parent | dfa88271a2c76bfbd4dbc3fc87ee81bd0a74ec8e (diff) | |
download | mpv-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 'sub/sd.h')
0 files changed, 0 insertions, 0 deletions