[vlc-devel] commit: Port directx output to Win64 awareness (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 17:15:38 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 17:14:50 2009 +0200| [ce14fcece530c1430e8fcff469e0ad2e9846996b] | committer: Jean-Baptiste Kempf 

Port directx output to Win64 awareness

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

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

diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index ddccce9..fd7dd6e 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -723,8 +723,8 @@ static void FirstDisplay( vout_thread_t *p_vout, picture_t *p_pic )
     if( p_vout->p_sys->b_using_overlay )
     {
         /* set the colorkey as the backgound brush for the video window */
-        SetClassLong( p_vout->p_sys->hvideownd, GCL_HBRBACKGROUND,
-                      (LONG)CreateSolidBrush( p_vout->p_sys->i_rgb_colorkey ) );
+        SetClassLongPtr( p_vout->p_sys->hvideownd, GCLP_HBRBACKGROUND,
+                      (LONG_PTR)CreateSolidBrush( p_vout->p_sys->i_rgb_colorkey ) );
     }
     /*
     ** Video window is initially hidden, show it now since we got a




More information about the vlc-devel mailing list