removed unneeded code; discarded directshow