[vlc-devel] commit: Fixed b_desktop initialization (msw). (Laurent Aimar )

git version control git at videolan.org
Mon Sep 28 20:56:57 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep 28 20:51:09 2009 +0200| [9e26639a38c7174921f5e416c7233edacdc8cbca] | committer: Laurent Aimar 

Fixed b_desktop initialization (msw).

It does not change anything because it was already at the right
value.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e26639a38c7174921f5e416c7233edacdc8cbca
---

 modules/video_output/msw/direct3d.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index f6ecbfc..cd2d1cd 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -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 );
 




More information about the vlc-devel mailing list