mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
Fixed VIDIX color bug that was introduced when Radeon VIDIX driver
was synchronized with vidix.sf.net. The red color was saturating. Corrected value fixes the issue and restore the color to the level it used to have before synchronization. Meaning of the value remains unknow but was retrieved from register's value of a Radeon 9000 card, so it may need further testing. Patch by Guillaume Lecerf (foxcore at gmail dot com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25345 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c5ba1bf7e3
commit
3e23146dc8
@ -1138,6 +1138,7 @@ static void radeon_vid_make_default(void)
|
||||
besr.graphics_key_msk=0;
|
||||
besr.graphics_key_clr=0;
|
||||
besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_TRUE|CMP_MIX_AND;
|
||||
besr.merge_cntl |= 0x00000100; /* DISP_RGB_OFFSET_EN */
|
||||
}
|
||||
|
||||
static int find_chip(unsigned chip_id)
|
||||
|
Loading…
Reference in New Issue
Block a user