mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Changed default grabbing flags when no xbmc checker is present
Former-commit-id: 9fabc0e570d44b301646c93b355042e1747a9183
This commit is contained in:
parent
6d47b4c66b
commit
153e75555d
@ -1 +1 @@
|
||||
19c49770372d19eddcd87f647455964ca57d4f57
|
||||
616598d4b62e2da40b2deeca332718c00209acfb
|
@ -72,13 +72,12 @@ void DispmanxWrapper::setGrabbingMode(const GrabbingMode mode)
|
||||
case GRABBINGMODE_AUDIO:
|
||||
case GRABBINGMODE_PHOTO:
|
||||
case GRABBINGMODE_MENU:
|
||||
case GRABBINGMODE_INVALID:
|
||||
_frameGrabber->setFlags(0);
|
||||
start();
|
||||
break;
|
||||
case GRABBINGMODE_OFF:
|
||||
stop();
|
||||
break;
|
||||
case GRABBINGMODE_INVALID:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -133,10 +133,6 @@ int main(int argc, char** argv)
|
||||
{
|
||||
QObject::connect(xbmcVideoChecker, SIGNAL(grabbingMode(GrabbingMode)), dispmanx, SLOT(setGrabbingMode(GrabbingMode)));
|
||||
}
|
||||
else
|
||||
{
|
||||
dispmanx->setGrabbingMode(GRABBINGMODE_VIDEO);
|
||||
}
|
||||
|
||||
dispmanx->start();
|
||||
std::cout << "Frame grabber created and started" << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user