Skip to content
Snippets Groups Projects
Commit 3f0960e1 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

video: fix make check

Refs: #45480
parent 63d3439e
Branches
Tags
No related merge requests found
...@@ -38,8 +38,12 @@ using namespace std; ...@@ -38,8 +38,12 @@ using namespace std;
void VideoInputTest::testInput() void VideoInputTest::testInput()
{ {
sfl_video::VideoInput camera("/dev/video0"); map<string, string> args;
sleep(1); args["input"] = "/dev/video0";
args["format"] = "video4linux2";
args["mirror"] = true;
sfl_video::VideoInput camera(args);
usleep(10000);
} }
int main () int main ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment