Add some more debug output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>