From 4ea48e2ed3e44cc3eb56c2c69b27cfe17a39f12e Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Thu, 14 Nov 2013 09:05:57 +0000 Subject: [PATCH] Changed grab flags for picture and audio Former-commit-id: ca933aa5b8cb2bb2ed85b0c0005f1e266368e89e --- deploy/hyperiond.REMOVED.git-id | 2 +- libsrc/dispmanx-grabber/DispmanxWrapper.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/hyperiond.REMOVED.git-id b/deploy/hyperiond.REMOVED.git-id index a1c3f66b..87abc0ab 100644 --- a/deploy/hyperiond.REMOVED.git-id +++ b/deploy/hyperiond.REMOVED.git-id @@ -1 +1 @@ -ebda31a60195d645efb523164516c049a2f9b823 \ No newline at end of file +391a5783725844074e6c221406f39e24d66f0bf3 \ No newline at end of file diff --git a/libsrc/dispmanx-grabber/DispmanxWrapper.cpp b/libsrc/dispmanx-grabber/DispmanxWrapper.cpp index e4c65fae..3893e94f 100644 --- a/libsrc/dispmanx-grabber/DispmanxWrapper.cpp +++ b/libsrc/dispmanx-grabber/DispmanxWrapper.cpp @@ -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();