[vlc-devel] commit: Direct3D: don't forget to initialize the mutex (Geoffroy Couprie )
git version control
git at videolan.org
Sat Sep 12 17:01:35 CEST 2009
vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Sat Sep 12 16:34:12 2009 +0200| [375a14aa2c6ab4086471f4a3d7e77c241c145102] | committer: Geoffroy Couprie
Direct3D: don't forget to initialize the mutex
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=375a14aa2c6ab4086471f4a3d7e77c241c145102
---
modules/video_output/msw/direct3d.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 1be110c..38c2976 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -406,6 +406,7 @@ static int Manage( vout_thread_t *p_vout )
/* Open the direct3d output and attaches it to the new window */
p_vout->p_sys->b_desktop = !p_vout->p_sys->b_desktop;
p_vout->pf_display = FirstDisplay;
+ vlc_mutex_init( &p_vout->p_sys->lock );
CreateEventThread( p_vout );
Init( p_vout );
More information about the vlc-devel
mailing list