diff options
Diffstat (limited to 'src/video_out/video_out_directx.c')
-rwxr-xr-x | src/video_out/video_out_directx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_out/video_out_directx.c b/src/video_out/video_out_directx.c index 5827ad27c..946e3f3e4 100755 --- a/src/video_out/video_out_directx.c +++ b/src/video_out/video_out_directx.c @@ -20,7 +20,7 @@ * video_out_directx.c, direct draw video output plugin for xine * by Matthew Grooms <elon@altavista.com> * - * $Id: video_out_directx.c,v 1.22 2005/08/25 15:36:30 valtri Exp $ + * $Id: video_out_directx.c,v 1.23 2005/08/29 15:28:16 valtri Exp $ */ typedef unsigned char boolean; @@ -28,6 +28,8 @@ typedef unsigned char boolean; #include <windows.h> #include <ddraw.h> +#include <pthread.h> + #include "xine.h" #include "video_out.h" #include "alphablend.h" @@ -866,6 +868,8 @@ static vo_frame_t * win32_alloc_frame( vo_driver_t * vo_driver ) if (!win32_frame) return NULL; + pthread_mutex_init(&win32_frame->vo_frame.mutex, NULL); + win32_frame->vo_frame.proc_slice = NULL; win32_frame->vo_frame.proc_frame = NULL; win32_frame->vo_frame.field = win32_frame_field; |