mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
make proto uses priorityRegister
This commit is contained in:
@@ -26,8 +26,6 @@ OsxWrapper::OsxWrapper(const unsigned display, const unsigned grabWidth, const u
|
||||
|
||||
// Connect the QTimer to this
|
||||
QObject::connect(&_timer, SIGNAL(timeout()), this, SLOT(action()));
|
||||
|
||||
_hyperion->registerPriority("OsxFrameGrabber", _priority);
|
||||
}
|
||||
|
||||
OsxWrapper::~OsxWrapper()
|
||||
@@ -41,6 +39,7 @@ void OsxWrapper::start()
|
||||
{
|
||||
// Start the timer with the pre configured interval
|
||||
_timer.start();
|
||||
_hyperion->registerPriority("OsxFrameGrabber", _priority);
|
||||
}
|
||||
|
||||
void OsxWrapper::action()
|
||||
@@ -57,6 +56,7 @@ void OsxWrapper::stop()
|
||||
{
|
||||
// Stop the timer, effectivly stopping the process
|
||||
_timer.stop();
|
||||
_hyperion->unRegisterPriority("OsxFrameGrabber");
|
||||
}
|
||||
|
||||
void OsxWrapper::setGrabbingMode(const GrabbingMode mode)
|
||||
|
Reference in New Issue
Block a user