TheSwissKnife/xbmc — comment on commit 735984b31cc308e6ad1e9cc613f677f945a8ff6e
File: xbmc/cores/VideoRenderers/RenderManager.cpp line 691
By TheSwissKnife:

Overlays code needs finishing for the reason you say and others...we should only add new overlays when really required to and then only flip when a overlays require flipping but I had not worked out where the pts/clock timing control is best to be done.