[vlc-devel] [PATCH] Make libvlc_set_drawable hwnd aware

Rémi Denis-Courmont rem at videolan.org
Fri Mar 6 17:21:40 CET 2009


Le vendredi 6 mars 2009 11:35:19 basos g, vous avez écrit :
> 2009/3/6 Jean-Baptiste Kempf <jb at videolan.org>:
> > On Fri, Mar 06, 2009 at 09:20:27AM +0000, basos g wrote :
> >> +#ifdef __WIN32__
> >> +    p_mi->drawable.hwnd = drawable ;
> >> +#else
> >>      p_mi->drawable.xid = drawable;
> >> -
> >> +#endif
> >
> > Could you try to be consistent with other ifdefs?
> >
> > I think most of the code uses WIN32 or _WIN32 (better, IIRC)
>
> You, re right.
> Corrected

Storing an integer to a pointer... cough cough.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list