Credit Andrew - add new render formats for dvd_pcm.dvd and mp2; fix location of HiLo...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / lv2ui.C
index a025ef1c5d79e727e9738ce6f7f5391c40d6922d..dce5c15e80c0ab5aeb2398740be74993b782c133 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * CINELERRA
+ * Copyright (C) 2016-2020 William Morrow
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
 #include <stdio.h>
 #include <signal.h>
 
@@ -14,6 +34,7 @@ int main(int ac, char **av)
 const char *cp = getenv("BUG");
 static int zbug = !cp ? 0 : atoi(cp);  volatile int bug = zbug;
 while( bug ) usleep(10000);
+       BC_WindowBase::init_resources(1);
        BC_Signals signals;
        if( getenv("BC_TRAP_LV2_SEGV") ) {
                signals.initialize("/tmp/lv2ui_%d.dmp");