Retry opening v4l2 device if it fails

Description

Infrequently, opening the v4l2 device (typically a webcam) fails for no apparent reason.

The second attempt works, so retry the operation a number of times if it fails the first time.

Status

Assignee

Benjamin Wulff

Reporter

Stephen Marquard

Components

Affects versions

Priority

Major
Configure