mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added v4l2 to hyperiond (partial)
Former-commit-id: 06684261ec3ac7bb4e8ff0479e5b1472823648ae
This commit is contained in:
@@ -69,6 +69,11 @@ V4L2Grabber::V4L2Grabber(
|
||||
|
||||
V4L2Grabber::~V4L2Grabber()
|
||||
{
|
||||
// stop if the grabber was not stopped
|
||||
if (_streamNotifier != nullptr && _streamNotifier->isEnabled()) {
|
||||
stop();
|
||||
}
|
||||
|
||||
uninit_device();
|
||||
close_device();
|
||||
}
|
||||
|
Reference in New Issue
Block a user