mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added logging to X11Grabber (#71)
* Added logging to X11Grabber * Added logging to Amlogic grabber. * Fixed mistake in amlogicgrabber.h * fixed compile issue * Trigger * cleaned up log messages
This commit is contained in:
4
include/grabber/AmlogicGrabber.h
Normal file → Executable file
4
include/grabber/AmlogicGrabber.h
Normal file → Executable file
@@ -2,7 +2,7 @@
|
||||
|
||||
// STL includes
|
||||
#include <cstdint>
|
||||
|
||||
#include <utils/Logger.h>
|
||||
// Utils includes
|
||||
#include <utils/Image.h>
|
||||
#include <utils/ColorBgr.h>
|
||||
@@ -55,4 +55,6 @@ private:
|
||||
|
||||
/** The snapshot/capture device of the amlogic video chip */
|
||||
int _amlogicCaptureDev;
|
||||
|
||||
Logger * _log;
|
||||
};
|
||||
|
4
include/grabber/X11Grabber.h
Normal file → Executable file
4
include/grabber/X11Grabber.h
Normal file → Executable file
@@ -3,7 +3,7 @@
|
||||
#include <utils/Image.h>
|
||||
#include <utils/ColorRgb.h>
|
||||
#include <utils/ImageResampler.h>
|
||||
|
||||
#include <utils/Logger.h>
|
||||
// X11 includes
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/extensions/Xrender.h>
|
||||
@@ -64,4 +64,6 @@ private:
|
||||
void setupResources();
|
||||
|
||||
int updateScreenDimensions();
|
||||
|
||||
Logger * _log;
|
||||
};
|
||||
|
Reference in New Issue
Block a user