Chnaged dispmanx flags for grabs during audio of photo

Former-commit-id: e9aad49b433c39daac9f8c75b28ba544d7ab40e9
This commit is contained in:
T. van der Zwan 2013-11-12 13:45:42 +00:00
parent eab2389da3
commit ddd2e26475

View File

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