mirror of https://github.com/mpv-player/mpv
patch by Nilmoni Deb <ndeb@ece.cmu.edu>:
"Ok folks, I got it at last. It must have been a careless error caused during cut and paste. So here's the patch. " which is shortened to '10L' in mplayer dev's language ;) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
03e8f3eb76
commit
fd4c906d13
|
@ -2534,7 +2534,7 @@ if(step_sec>0) {
|
||||||
if(abs)
|
if(abs)
|
||||||
v_bright = v > 100 ? 100 : v;
|
v_bright = v > 100 ? 100 : v;
|
||||||
else {
|
else {
|
||||||
if ( (v_bright += v) > 100 ) v_cont = 100;
|
if ( (v_bright += v) > 100 ) v_bright = 100;
|
||||||
}
|
}
|
||||||
if(v_hw_equ_cap & VEQ_CAP_BRIGHTNESS) {
|
if(v_hw_equ_cap & VEQ_CAP_BRIGHTNESS) {
|
||||||
if(v_bright < -100) v_bright = -100;
|
if(v_bright < -100) v_bright = -100;
|
||||||
|
|
Loading…
Reference in New Issue