Improve logic to match audio and video inputs
Improve logic to match audio and video inputs

Even further improve logic to automatically match audio and video inputs to
each other if they are implemented by separate DirectShow filters.

jp9000/libdshowcapture,jp9000/libdshowcapture