Added v4l2 to hyperiond (partial)

Former-commit-id: 06684261ec3ac7bb4e8ff0479e5b1472823648ae
This commit is contained in:
johan
2014-02-21 22:30:34 +01:00
parent 69d6e47328
commit 22472d8f95
3 changed files with 49 additions and 1 deletions

View File

@@ -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();
}