diff --git a/daemon/src/video/test/test_video_input.cpp b/daemon/src/video/test/test_video_input.cpp index ea581de2af46787ea0fd842c8293645abf062bed..95b3ec2ecbf6c6eb18901a7df7120870edb49365 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 ()