comparison stream/tv.c @ 22727:82c405252244

Make sure bogus parameter will not be ignored by user.
author voroshil
date Mon, 19 Mar 2007 12:28:53 +0000
parents e1859558b37d
children 5e4a2438a0e2
comparison
equal deleted inserted replaced
22726:c07c6ed4902d 22727:82c405252244
169 else if (!strcasecmp(norm, "paln")) 169 else if (!strcasecmp(norm, "paln"))
170 return TV_NORM_PALN; 170 return TV_NORM_PALN;
171 else if (!strcasecmp(norm, "ntscjp")) 171 else if (!strcasecmp(norm, "ntscjp"))
172 return TV_NORM_NTSCJP; 172 return TV_NORM_NTSCJP;
173 else { 173 else {
174 mp_msg(MSGT_TV, MSGL_V, "tv.c: norm_from_string(%s): Bogus norm parameter, setting PAL.\n", norm); 174 mp_msg(MSGT_TV, MSGL_WARN, "tv.c: norm_from_string(%s): Bogus norm parameter, setting PAL.\n", norm);
175 return TV_NORM_PAL; 175 return TV_NORM_PAL;
176 } 176 }
177 #ifdef HAVE_TV_V4L2 177 #ifdef HAVE_TV_V4L2
178 } else { 178 } else {
179 tvi_functions_t *funcs = tvh->functions; 179 tvi_functions_t *funcs = tvh->functions;