[MPlayer-dev-eng] [PATCH] fix vo x11 in 15 bit color depth

compn tempn at twmi.rr.com
Thu Oct 16 02:44:16 CEST 2008


On Wed, 15 Oct 2008 22:15:50 +0200, Sascha Sommer wrote:
>while testing xvidix with my riva128 I noticed that MPlayer's vo_x11 no longer 
>works with 15 bit color depths.
>
>Format selection fails because the X server reports bit depth 16 for 15 bit 
>formats.

>+      /* bits_per_pixel in X seems to be set to 16 for 15 bit formats
>+         => force depth to 16 so that only the color masks are used for the format check */
>+      if(depth == 15)
>+          depth = 16;

no longer works? what error? this patch works on older x? what changed?
x or vo_x11 ? how to reproduce? what x version? binary or free driver?

forgive me if i ask too many stupid questions.

-compn



More information about the MPlayer-dev-eng mailing list