added support for selecting valid capture device