test: v4l2_device: Rename dev_ to capture_
Change the variable name globally throughout the tests. Repair the V4L2DeviceTest constructor style, as checkstyle complained. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -16,15 +16,15 @@ protected:
|
||||
|
||||
pool_.createBuffers(bufferCount);
|
||||
|
||||
int ret = dev_->exportBuffers(&pool_);
|
||||
int ret = capture_->exportBuffers(&pool_);
|
||||
if (ret)
|
||||
return TestFail;
|
||||
|
||||
ret = dev_->streamOn();
|
||||
ret = capture_->streamOn();
|
||||
if (ret)
|
||||
return TestFail;
|
||||
|
||||
ret = dev_->streamOff();
|
||||
ret = capture_->streamOff();
|
||||
if (ret)
|
||||
return TestFail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user