From 3f0960e19db5dcdfb3a3ec02f7f905903c8f5515 Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Fri, 18 Apr 2014 16:13:10 -0400 Subject: [PATCH] video: fix make check Refs: #45480 --- daemon/src/video/test/test_video_input.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/daemon/src/video/test/test_video_input.cpp b/daemon/src/video/test/test_video_input.cpp index ea581de2af..95b3ec2ecb 100644 --- a/daemon/src/video/test/test_video_input.cpp +++ b/daemon/src/video/test/test_video_input.cpp @@ -38,8 +38,12 @@ using namespace std; void VideoInputTest::testInput() { - sfl_video::VideoInput camera("/dev/video0"); - sleep(1); + map<string, string> args; + args["input"] = "/dev/video0"; + args["format"] = "video4linux2"; + args["mirror"] = true; + sfl_video::VideoInput camera(args); + usleep(10000); } int main () -- GitLab