Bug 1043442 - Improve wait in wait_for_capture_ready()
Merge pull request #22150 from viorelaioia/bug_1043442

Bug 1043442 - Improve wait in wait_for_capture_ready()