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
This commit is contained in:
nicodvb 2008-07-12 08:07:54 +00:00
parent c0455325f0
commit b16d3fd6c2
2 changed files with 2 additions and 2 deletions

View File

@ -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 }
};

View File

@ -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 = {