blob: 599985da5b5701fa038102746d092d51259ae1fd [file] [log] [blame] [edit]
class Renderer;
class VideoCapture {
public:
VideoCapture(const char *name);
~VideoCapture();
void start(const char *filename);
void start();
void capture(Renderer *source);
void stop();
bool recording() {return buffer;}
private:
const char *name;
Uint8 *buffer = NULL;
};