Mercurial > mplayer.hg
diff stream/stream_dvd.c @ 27235:ea35e46aa7af
in dvd streams the title part ranges from 1 to 99
author | nicodvb |
---|---|
date | Sat, 12 Jul 2008 08:07:54 +0000 |
parents | fd1872d2b2d4 |
children | b3bfe83d77f9 |
line wrap: on
line diff
--- a/stream/stream_dvd.c Fri Jul 11 22:04:29 2008 +0000 +++ b/stream/stream_dvd.c Sat Jul 12 08:07:54 2008 +0000 @@ -148,7 +148,7 @@ #define ST_OFF(f) M_ST_OFF(struct stream_priv_s,f) /// URL definition static const m_option_t stream_opts_fields[] = { - { "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_MIN, 1, 0, NULL }, + { "hostname", ST_OFF(title), CONF_TYPE_INT, M_OPT_RANGE, 1, 99, NULL}, { "filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0 ,0, NULL}, { NULL, NULL, 0, 0, 0, 0, NULL } };