diff --git a/daemon/src/media/video/v4l2/video_device_impl.cpp b/daemon/src/media/video/v4l2/video_device_impl.cpp index aa16d5502a39febe029dba59df5a51047a5dee33..f6e1996b3093d0fac752f65dd8fc217ecd72fe8f 100644 --- a/daemon/src/media/video/v4l2/video_device_impl.cpp +++ b/daemon/src/media/video/v4l2/video_device_impl.cpp @@ -521,7 +521,7 @@ VideoDeviceImpl::getDeviceParams() const { DeviceParams params; params.input = device; - params.format = "v4l2"; + params.format = "video4linux2"; params.channel = channel_.idx; params.width = size_.width; params.height = size_.height; diff --git a/daemon/src/media/video/video_input.cpp b/daemon/src/media/video/video_input.cpp index 6c916ae40f2f4c5fe77d00d7d734399c390606f9..e76aec132db70f48967cfd1981ad038ab3bc38e2 100644 --- a/daemon/src/media/video/video_input.cpp +++ b/daemon/src/media/video/video_input.cpp @@ -317,7 +317,7 @@ VideoInput::switchInput(const std::string& resource) bool valid = false; - if (prefix == "v4l2") { + if (prefix == "video4linux2") { /* Video4Linux2 */ valid = initCamera(suffix); } else if (prefix == "display") {