video: fix local camera openning

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

Refs #66543

Change-Id: Iebd5dd6544fd223ca505f1d1064a5d7bfd0bedb1
This commit is contained in:
Guillaume Roguez
2015-03-20 10:20:54 -04:00
parent 9dba306837
commit 33bc8cf709

View File

@ -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;