added log message

This commit is contained in:
Jared Bruni
2021-08-28 20:18:10 -07:00
parent ee57b5e0ee
commit def585f0c2
3 changed files with 10 additions and 0 deletions

View File

@@ -851,6 +851,8 @@ void AC_MainWindow::comboFilterChanged(int) {
if(filter_single->isChecked() && text.find("SubFilter") != std::string::npos)
Log(tr("Set a SubFilter to use this filter\n"));
if(playback->getMaxAlloc() < 1080 && text.find("Intertwine") != std::string::npos)
Log(tr("Set Max Frames to greater than 1080 to use Intertwine filters"));
}
void AC_MainWindow::setFilterSingle() {

View File

@@ -159,6 +159,13 @@ unsigned long Playback::allocatedFrames() {
}
unsigned long Playback::getMaxAlloc() {
mutex.lock();
unsigned long l = ac::getMaxAllocated();
mutex.unlock();
return l;
}
void Playback::setWaitColorLevel(int w, int l) {
mutex.lock();
ac::setVariableWait(w);

View File

@@ -66,6 +66,7 @@ public:
void setMaxAlloc(int a);
unsigned int getObjectSize();
unsigned long allocatedFrames();
unsigned long getMaxAlloc();
void setWaitColorLevel(int c, int l);
void setColorMap(int c);
void setPngPath(std::string path);