equalizer is only supported by g400

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-01-19 23:59:20 +00:00
parent 42c9d2cf5a
commit 88f4f3c3d3
1 changed files with 4 additions and 0 deletions

View File

@ -1461,7 +1461,11 @@ int vixPlaybackSetEq( const vidix_video_eq_t * eq)
if(contrast < 0) contrast = 0;
if(contrast > 255) contrast = 255;
beslumactl = ((brightness & 0xff) << 16) | (contrast & 0xff);
if (is_g400)
writel(beslumactl,mga_mmio_base + BESLUMACTL);
else
printf("[mga] equalizer isn't supported with G200\n");
return 0;
}