[vlc-devel] Re: Fwd: [Possible endian bug in video_chrome/video_output]

Benjamin Pracht bigben+spam at videolan.org
Sat Apr 29 15:57:00 CEST 2006


Le jeudi 27 avril 2006 à 10:32 +0200, Alexander Gall a écrit :
> On Wed, 26 Apr 2006 18:51:24 +0200, Benjamin Pracht <bigben+spam at videolan.org> said:

> 
> Right.  I finally understand what's going on.  InitDisplay() correctly
> determines the screen depth to be 24 and enters the 24/default
> case. Now, XGetVisualInfo() is called with only the ScreenMask and
> ClassMask flags, asking for a list of all TrueColor visuals on this
> screen.  My screen happens to have 7 matching visuals
> 
>   visual:
>     visual id:    0x25
>     class:    TrueColor
>     depth:    8 planes
>     available colormap entries:    8 per subfield
>     red, green, blue masks:    0x7, 0x38, 0xc0
>     significant bits in color specification:    8 bits

That should be fixed now. BTW, returning a 8bit display when being
requested a truecolor one as first answer seems quite strange to me...

-- 
BigBen

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list