summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-07-15 02:59:27 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-07-15 02:59:27 +0300
commit92f0cba26b5c032f8b097f525862233d92a02a2d (patch)
treedc8d255a3a866db1bf89d1065c813b8a0fd51006 /stream/stream_dvd.c
parent06c533b167c37540b578fb1c70d2acb44ce59245 (diff)
parentcf8d38125537f2b77d2321e7d19d5957bab56669 (diff)
downloadmpv-92f0cba26b5c032f8b097f525862233d92a02a2d.tar.bz2
mpv-92f0cba26b5c032f8b097f525862233d92a02a2d.tar.xz
Merge svn changes up to r27281
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index fa80e9b64b..f97a2ff5c8 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -148,7 +148,7 @@ static struct stream_priv_s {
#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 }
};