mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Bug fixes Part 2
- If the internal v4l2 grabber is switched off, it will now be de-initialized (Issue: #542) - Extended error detection in MJPEG decompress method - Default instance capture activation if it is missing in the configuration (https://hyperion-project.org/goto/post?id=13656#post-13656) - Fixed some small (think)mistakes (https://hyperion-project.org/threads/hdmi-grabber.3302/page-2#post-14887)
This commit is contained in:
committed by
Paulchen-Panther
parent
0a8af60726
commit
c6de5173ec
@@ -82,6 +82,7 @@ void CaptureCont::setSystemCaptureEnable(const bool& enable)
|
||||
}
|
||||
_systemCaptEnabled = enable;
|
||||
_hyperion->getComponentRegister().componentStateChanged(hyperion::COMP_GRABBER, enable);
|
||||
_hyperion->setComponentState(hyperion::COMP_GRABBER, enable);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,6 +104,7 @@ void CaptureCont::setV4LCaptureEnable(const bool& enable)
|
||||
}
|
||||
_v4lCaptEnabled = enable;
|
||||
_hyperion->getComponentRegister().componentStateChanged(hyperion::COMP_V4L, enable);
|
||||
_hyperion->setComponentState(hyperion::COMP_V4L, enable);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user