This reverts commit 7e0a284b9f1967d46603711e85e0be01e084eadf. revert at authors request due to better impementation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>