diff --git a/libsrc/grabber/framebuffer/FramebufferFrameGrabber.cpp b/libsrc/grabber/framebuffer/FramebufferFrameGrabber.cpp index 9cf2675b..a14cf805 100755 --- a/libsrc/grabber/framebuffer/FramebufferFrameGrabber.cpp +++ b/libsrc/grabber/framebuffer/FramebufferFrameGrabber.cpp @@ -46,7 +46,11 @@ int FramebufferFrameGrabber::grabFrame(Image & image) { case 16: pixelFormat = PIXELFORMAT_BGR16; break; case 24: pixelFormat = PIXELFORMAT_BGR24; break; +#ifdef ENABLE_AMLOGIC + case 32: pixelFormat = PIXELFORMAT_RGB32; break; +#else case 32: pixelFormat = PIXELFORMAT_BGR32; break; +#endif default: Error(_log, "Unknown pixel format: %d bits per pixel", vinfo.bits_per_pixel); close(_fbfd);