diff --git a/src/main_window.cpp b/src/main_window.cpp index c76cbd3..5cf4dd7 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -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() { diff --git a/src/playback_thread.cpp b/src/playback_thread.cpp index cdc8d1e..b51e1b6 100644 --- a/src/playback_thread.cpp +++ b/src/playback_thread.cpp @@ -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); diff --git a/src/playback_thread.h b/src/playback_thread.h index 92b0d38..70d7fb4 100644 --- a/src/playback_thread.h +++ b/src/playback_thread.h @@ -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);