This commit is contained in:
Paulchen-Panther
2019-01-07 18:13:49 +01:00
parent 2dca1c93e6
commit 2cda2a11e0
5 changed files with 4 additions and 12 deletions

View File

@@ -952,10 +952,6 @@ void V4L2Grabber::setPixelDecimation(int pixelDecimation)
if(_pixelDecimation != pixelDecimation)
{
_pixelDecimation = pixelDecimation;
uninit();
// start if init is a success
if(init())
start();
_imageResampler.setHorizontalPixelDecimation(pixelDecimation);
_imageResampler.setVerticalPixelDecimation(pixelDecimation);
}