summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-29 10:07:05 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-29 10:07:05 +0000
commitf10cf78bb906c8a42d0c0d9521523df8fdc99eec (patch)
tree4f465d7ebdbcf1bd142c0367bcee812c69193506 /libvo/vo_xv.c
parenta9be09b5873b15f533261fa47d3946dcdb399902 (diff)
downloadmpv-f10cf78bb906c8a42d0c0d9521523df8fdc99eec.tar.bz2
mpv-f10cf78bb906c8a42d0c0d9521523df8fdc99eec.tar.xz
Minor fix - else 0 is unreachable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4407 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 67e94803c6..476cd54b5f 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -181,7 +181,7 @@ static int __xv_set_video_eq( const vidix_video_eq_t *info,int use_reset)
else continue;
/* means that user has untouched this parameter since
NVidia driver has default == min for XV_HUE but not mid */
- if(!port_value) continue;
+ if(!port_value && use_reset) continue;
port_min = xv_min;
port_max = xv_max;
port_mid = (port_min + port_max) / 2;