mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Changed grab flags for picture and audio
Former-commit-id: ca933aa5b8cb2bb2ed85b0c0005f1e266368e89e
This commit is contained in:
parent
14a1adb9e0
commit
4ea48e2ed3
@ -1 +1 @@
|
||||
ebda31a60195d645efb523164516c049a2f9b823
|
||||
391a5783725844074e6c221406f39e24d66f0bf3
|
@ -66,11 +66,11 @@ void DispmanxWrapper::setGrabbingMode(const GrabbingMode mode)
|
||||
switch (mode)
|
||||
{
|
||||
case GRABBINGMODE_VIDEO:
|
||||
case GRABBINGMODE_AUDIO:
|
||||
case GRABBINGMODE_PHOTO:
|
||||
_frameGrabber->setFlags(DISPMANX_SNAPSHOT_NO_RGB|DISPMANX_SNAPSHOT_FILL);
|
||||
start();
|
||||
break;
|
||||
case GRABBINGMODE_AUDIO:
|
||||
case GRABBINGMODE_PHOTO:
|
||||
case GRABBINGMODE_MENU:
|
||||
_frameGrabber->setFlags(0);
|
||||
start();
|
||||
|
Loading…
Reference in New Issue
Block a user