Changed grab flags for picture and audio

Former-commit-id: ca933aa5b8cb2bb2ed85b0c0005f1e266368e89e
This commit is contained in:
T. van der Zwan 2013-11-14 09:05:57 +00:00
parent 14a1adb9e0
commit 4ea48e2ed3
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
ebda31a60195d645efb523164516c049a2f9b823 391a5783725844074e6c221406f39e24d66f0bf3

View File

@ -66,11 +66,11 @@ void DispmanxWrapper::setGrabbingMode(const GrabbingMode mode)
switch (mode) switch (mode)
{ {
case GRABBINGMODE_VIDEO: case GRABBINGMODE_VIDEO:
case GRABBINGMODE_AUDIO:
case GRABBINGMODE_PHOTO:
_frameGrabber->setFlags(DISPMANX_SNAPSHOT_NO_RGB|DISPMANX_SNAPSHOT_FILL); _frameGrabber->setFlags(DISPMANX_SNAPSHOT_NO_RGB|DISPMANX_SNAPSHOT_FILL);
start(); start();
break; break;
case GRABBINGMODE_AUDIO:
case GRABBINGMODE_PHOTO:
case GRABBINGMODE_MENU: case GRABBINGMODE_MENU:
_frameGrabber->setFlags(0); _frameGrabber->setFlags(0);
start(); start();