TheSwissKnife/xbmc — comment on commit 1b1c0bb122b2106111d09206f917b5a6625881c4
File: xbmc/cores/dvdplayer/DVDPlayerVideo.cpp line 285
By FernetMenta:

Hmm, seems like the renderManager.Flush has to go away (feedback from elupus). It should work the way it was: when the last reference in the render buffers is cleared, the object will be deleted. I have to think about a solution how to get output thread to do the clear down.