no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / pluginlv2.h
index ac99d2535dfc3015ba23ba910db6b28f8016ba53..69a2297be35614120873196bf535fb4b6a8b5faa 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * CINELERRA
+ * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ *
+ * 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
+ *
+ */
+
 #ifndef __PLUGINLV2_H__
 #define __PLUGINLV2_H__
 
 #ifndef __PLUGINLV2_H__
 #define __PLUGINLV2_H__
 
@@ -137,7 +157,7 @@ public:
        LV2_Worker_Schedule schedule;
        PluginLV2Work *work_avail, *work_input;
        PluginLV2Work *work_output, **work_tail;
        LV2_Worker_Schedule schedule;
        PluginLV2Work *work_avail, *work_input;
        PluginLV2Work *work_output, **work_tail;
-       pthread_mutex_t worker_lock;
+       pthread_mutex_t startup_lock, worker_lock;
        pthread_cond_t worker_ready;
        int worker_done;
 };
        pthread_cond_t worker_ready;
        int worker_done;
 };