]> git.sesse.net Git - mlt/commitdiff
Fix build of jackrack module on mingw.
authorDan Dennedy <dan@dennedy.org>
Sun, 20 Mar 2011 23:59:50 +0000 (16:59 -0700)
committerDan Dennedy <dan@dennedy.org>
Sun, 20 Mar 2011 23:59:50 +0000 (16:59 -0700)
src/modules/jackrack/filter_jackrack.c
src/modules/jackrack/plugin.h
src/modules/jackrack/process.c

index 86c8fecb7a5e541fa96cb1496c18b7ae6d383714..b5006aecd08db21397daf1603c7dfed6f4fa262c 100644 (file)
@@ -27,9 +27,9 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include <pthread.h>
 #include <jack/jack.h>
 #include <jack/ringbuffer.h>
-#include <pthread.h>
 #include <string.h>
 
 #include "jack_rack.h"
@@ -194,7 +194,7 @@ static int jack_process (jack_nframes_t frames, void * data)
                // Do not start returning audio until we have sent first mlt frame
                if ( sync && i == 0 && frame_size > 0 )
                        total_size += ring_size;
-               mlt_log_debug( MLT_FILTER_SERVICE(filter), "sync %d frame_size %d ring_size %zd jack_size %zd\n", sync, frame_size, ring_size, jack_size );
+               mlt_log_debug( MLT_FILTER_SERVICE(filter), "sync %d frame_size %d ring_size %d jack_size %d\n", sync, frame_size, ring_size, jack_size );
                
                if ( ! sync || ( frame_size > 0  && total_size >= frame_size ) )
                {
index 576b803cbc42a9a2a66ab77558ebdd8057d11895..814e20b388cad95ad9014f4a6bca385145280560 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <glib.h>
 #include <ladspa.h>
+#include <pthread.h>
 #include <jack/jack.h>
 
 #include "process.h"
index efd497fd54d9db019260903846e0ebbc2885a817..0e0f2dab3d36457142f2317db83770739e42f8f6 100644 (file)
@@ -23,6 +23,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <pthread.h>
 #include <jack/jack.h>
 #include <glib.h>
 #include <stdio.h>