20Settings *Settings::m_pInstance =
nullptr;
30 auto env_debug = std::getenv(
"LIBOPENSHOT_DEBUG");
31 if (env_debug !=
nullptr)
Header file for global Settings class.
This class is contains settings used by libopenshot (and can be safely toggled at any point)
int OMP_THREADS
Number of threads of OpenMP.
static Settings * Instance()
Create or get an instance of this logger singleton (invoke the class with this method)
int FF_THREADS
Number of threads that ffmpeg uses.
bool DEBUG_TO_STDERR
Whether to dump ZeroMQ debug messages to stderr.
This namespace is the default namespace for all code in the openshot library.