From: Laurent Aimar Date: Mon, 28 Sep 2009 18:51:09 +0000 (+0200) Subject: Fixed b_desktop initialization (msw). X-Git-Tag: 1.1.0-ff~3145 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9e26639a38c7174921f5e416c7233edacdc8cbca;hp=b28b938857b3dec075c094d89198ee756e968bd6;p=vlc Fixed b_desktop initialization (msw). It does not change anything because it was already at the right value. --- diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c index f6ecbfc4d2..cd2d1cdf37 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 );