mirror of https://github.com/mpv-player/mpv
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:
parent
42c9d2cf5a
commit
88f4f3c3d3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue