Calling setDeviceVideoStandard in the constructor

This commit is contained in:
Paulchen Panther 2019-02-25 21:10:44 +01:00 committed by GitHub
parent 2ae692de26
commit 0ebff511b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,9 @@ V4L2Grabber::V4L2Grabber(const QString & device
{ {
setPixelDecimation(pixelDecimation); setPixelDecimation(pixelDecimation);
getV4Ldevices(); getV4Ldevices();
// init
setDeviceVideoStandard(device, videoStandard);
} }
V4L2Grabber::~V4L2Grabber() V4L2Grabber::~V4L2Grabber()