hyperion.ng/libsrc/grabber/osx/OsxWrapper.cpp

12 lines
354 B
C++
Raw Normal View History

#include <grabber/OsxWrapper.h>
2018-12-27 23:11:32 +01:00
OsxWrapper::OsxWrapper(const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz)
: GrabberWrapper("OSX FrameGrabber", &_grabber, grabWidth, grabHeight, updateRate_Hz)
, _grabber(display, grabWidth, grabHeight)
{}
void OsxWrapper::action()
{
transferFrame(_grabber);
}