diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-12 08:07:54 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-12 08:07:54 +0000 |
commit | b16d3fd6c269af9660e919cad94efa2ccae02031 (patch) | |
tree | 69c060a34ea9ba0761db350ce60c67b300ee9b28 /stream | |
parent | c0455325f03dfc7df4ecf53eb2182f18783f8e14 (diff) |
in dvd streams the title part ranges from 1 to 99
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27267 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_dvd.c | 2 | ||||
-rw-r--r-- | stream/stream_dvdnav.c | 2 |
2 files changed, 2 insertions, 2 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 } }; diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 9030761a96..403016b372 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -63,7 +63,7 @@ static struct stream_priv_s { /// URL definition static const m_option_t stream_opts_fields[] = { {"filename", ST_OFF(device), CONF_TYPE_STRING, 0, 0, 0, NULL }, - {"hostname", ST_OFF(track), CONF_TYPE_INT, 0, 0, 0, NULL}, + {"hostname", ST_OFF(track), CONF_TYPE_INT, M_OPT_RANGE, 1, 99, NULL}, { NULL, NULL, 0, 0, 0, 0, NULL } }; static const struct m_struct_st stream_opts = { |