hyperion.ng/libsrc/grabber/osx/OsxWrapper.cpp
2020-08-08 13:09:15 +02:00

12 lines
330 B
C++

#include <grabber/OsxWrapper.h>
OsxWrapper::OsxWrapper(unsigned display, unsigned grabWidth, unsigned grabHeight, unsigned updateRate_Hz)
: GrabberWrapper("OSX FrameGrabber", &_grabber, grabWidth, grabHeight, updateRate_Hz)
, _grabber(display, grabWidth, grabHeight)
{}
void OsxWrapper::action()
{
transferFrame(_grabber);
}