patch by Fredrik Kuivinen <freku045@student.liu.se>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4182 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2002-01-15 21:30:45 +00:00
parent fae8e56d33
commit d255ad6cb6
1 changed files with 1 additions and 1 deletions

View File

@ -207,10 +207,10 @@ int vo_init( void )
bpp=mXImage->bits_per_pixel;
if((vo_depthonscreen+7)/8 != (bpp+7)/8) vo_depthonscreen=bpp; // by A'rpi
mask=mXImage->red_mask|mXImage->green_mask|mXImage->blue_mask;
XDestroyImage( mXImage );
if(verbose)
printf("vo: X11 color mask: %X (R:%lX G:%lX B:%lX)\n",
mask,mXImage->red_mask,mXImage->green_mask,mXImage->blue_mask);
XDestroyImage( mXImage );
}
if(((vo_depthonscreen+7)/8)==2){
if(mask==0x7FFF) vo_depthonscreen=15; else