Restruct reconnection block for upcoming changes
Handle VFW_E_BUFFERS_OUTSTANDING errors during reconnection

The VMR-9 renderer can send these errors when trying to reconnect
and its still rendering a frame. To work around the issue, try to give
the renderer a bit time to finish rendering the frames, and as a last
resort do a flush to ensure we can reconnect.