]> git.sesse.net Git - vlc/commitdiff
Fixed b_desktop initialization (msw).
authorLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 18:51:09 +0000 (20:51 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 28 Sep 2009 18:51:09 +0000 (20:51 +0200)
It does not change anything because it was already at the right
value.

modules/video_output/msw/direct3d.c

index f6ecbfc4d29cc38c3778e95a21f362faaf48af7f..cd2d1cdf374889d5a11bd6b8738e8a5a8cf436cd 100644 (file)
@@ -186,6 +186,8 @@ static int OpenVideo( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
+    p_vout->p_sys->b_desktop = false;
+
     /* Initialisations */
     p_vout->pf_init = Init;
     p_vout->pf_end = End;
@@ -197,7 +199,6 @@ static int OpenVideo( vlc_object_t *p_this )
     if( CommonInit( p_vout ) )
         goto error;
 
-    p_vout->p_sys->b_desktop = false;
     var_Create( p_vout, "directx-hw-yuv", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
     var_Create( p_vout, "directx-device", VLC_VAR_STRING | VLC_VAR_DOINHERIT );