mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 18:28:01 +00:00
Make sure bogus parameter will not be ignored by user.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22745 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
25cfa15b4b
commit
ac45fd3aac
@ -171,7 +171,7 @@ static int norm_from_string(tvi_handle_t *tvh, char* norm)
|
|||||||
else if (!strcasecmp(norm, "ntscjp"))
|
else if (!strcasecmp(norm, "ntscjp"))
|
||||||
return TV_NORM_NTSCJP;
|
return TV_NORM_NTSCJP;
|
||||||
else {
|
else {
|
||||||
mp_msg(MSGT_TV, MSGL_V, "tv.c: norm_from_string(%s): Bogus norm parameter, setting PAL.\n", norm);
|
mp_msg(MSGT_TV, MSGL_WARN, "tv.c: norm_from_string(%s): Bogus norm parameter, setting PAL.\n", norm);
|
||||||
return TV_NORM_PAL;
|
return TV_NORM_PAL;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_TV_V4L2
|
#ifdef HAVE_TV_V4L2
|
||||||
|
Loading…
Reference in New Issue
Block a user