summaryrefslogtreecommitdiff
path: root/test/v4l2_device/v4l2_device_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_device/v4l2_device_test.h')
-rw-r--r--test/v4l2_device/v4l2_device_test.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/v4l2_device/v4l2_device_test.h b/test/v4l2_device/v4l2_device_test.h
index 43539655..c476d3c0 100644
--- a/test/v4l2_device/v4l2_device_test.h
+++ b/test/v4l2_device/v4l2_device_test.h
@@ -22,7 +22,10 @@ using namespace libcamera;
class V4L2DeviceTest : public Test
{
public:
- V4L2DeviceTest() : dev_(nullptr){};
+ V4L2DeviceTest()
+ : capture_(nullptr)
+ {
+ }
protected:
int init();
@@ -30,7 +33,7 @@ protected:
std::unique_ptr<DeviceEnumerator> enumerator_;
std::shared_ptr<MediaDevice> media_;
- V4L2Device *dev_;
+ V4L2Device *capture_;
BufferPool pool_;
};