[vlc-devel] [PATCH] Direct2D video output module

xxcv xxcv07 at gmail.com
Wed Jul 28 08:33:18 CEST 2010


On 28/07/2010 1:28 PM, David Kaplan wrote:
>
>
> On Wed, Jul 28, 2010 at 12:37 AM, Laurent Aimar <fenrir at elivagar.org
> <mailto:fenrir at elivagar.org>> wrote:
>
>       I have tested it and it works well (including zoom/ar/autoscale/crop).
>
> Thanks as always! :)
>
>      > +    vd->fmt.i_chroma = VLC_CODEC_RGB32; /* masks change this to
>     BGR32 for ID2D1Bitmap */
>      > +    vd->fmt.i_rmask  = 0x000000ff;
>      > +    vd->fmt.i_gmask  = 0x0000ff00;
>      > +    vd->fmt.i_bmask  = 0x00000000;
>       Can't 0x00ff0000 works (now that you don't use RGBA)?
>
>
> Still broken with RGB32 and RGBA so this is still necessary.
>
> I'm submitting the latest patch now...
>
> --
> http://blog.2of1.org
Trying to compile #include <d2d1.h>
d2d1.h:545:68: error: redefinition of typedef 'ID2D1Resource'
And lots of redef errors.



More information about the vlc-devel mailing list