Yes, well, until someone submits this mythical video output filter code this is the way to go (marked as "hack" of course).