video writer fixes for directshow recording