From 33bc8cf709a9d2de4c85ca6e7c2714d752b9d9e0 Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Fri, 20 Mar 2015 10:20:54 -0400
Subject: [PATCH] video: fix local camera openning

Commit be732d4737326dab3fad4201ba0bafe9c1bee656
introduce a regression on local camera input openning through v4l2.
This patch fixes this.

Refs #66543

Change-Id: Iebd5dd6544fd223ca505f1d1064a5d7bfd0bedb1
---
 daemon/src/media/video/v4l2/video_device_impl.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/src/media/video/v4l2/video_device_impl.cpp b/daemon/src/media/video/v4l2/video_device_impl.cpp
index f6e1996b30..aa16d5502a 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 = "video4linux2";
+    params.format = "v4l2";
     params.channel = channel_.idx;
     params.width = size_.width;
     params.height = size_.height;
-- 
GitLab