bug in width calculation directshow fixed