made frei0r disableable
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "frei0reffect.h"
|
||||
|
||||
#ifndef NOFREI0R
|
||||
|
||||
#include <QMessageBox>
|
||||
#include <QDir>
|
||||
|
||||
@@ -170,3 +172,5 @@ void Frei0rEffect::process_image(double timecode, uint8_t *input, uint8_t *outpu
|
||||
|
||||
update_func(instance, timecode, reinterpret_cast<uint32_t*>(input), reinterpret_cast<uint32_t*>(output));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef FREI0REFFECT_H
|
||||
#define FREI0REFFECT_H
|
||||
|
||||
#ifndef NOFREI0R
|
||||
|
||||
#include "project/effect.h"
|
||||
|
||||
#include <frei0r.h>
|
||||
@@ -24,4 +26,6 @@ private:
|
||||
f0rGetParamInfo get_param_info;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif // FREI0REFFECT_H
|
||||
|
||||
Reference in New Issue
Block a user