comparison libvo/vo_xv.c @ 4406:d8e5237af111

Minor fix - else 0 is unreachable
author nick
date Tue, 29 Jan 2002 10:07:05 +0000
parents a07b7233930b
children 1ceadec3ea67
comparison
equal deleted inserted replaced
4405:7eda15bbb3f9 4406:d8e5237af111
179 && (info->cap & VEQ_CAP_RGB_INTENSITY)) 179 && (info->cap & VEQ_CAP_RGB_INTENSITY))
180 port_value = info->blue_intensity; 180 port_value = info->blue_intensity;
181 else continue; 181 else continue;
182 /* means that user has untouched this parameter since 182 /* means that user has untouched this parameter since
183 NVidia driver has default == min for XV_HUE but not mid */ 183 NVidia driver has default == min for XV_HUE but not mid */
184 if(!port_value) continue; 184 if(!port_value && use_reset) continue;
185 port_min = xv_min; 185 port_min = xv_min;
186 port_max = xv_max; 186 port_max = xv_max;
187 port_mid = (port_min + port_max) / 2; 187 port_mid = (port_min + port_max) / 2;
188 port_value = port_mid + (port_value * (port_max - port_min)) / 2000; 188 port_value = port_mid + (port_value * (port_max - port_min)) / 2000;
189 if(verbose > 1) 189 if(verbose > 1)