mirror of https://github.com/mpv-player/mpv
stream/stream_dvdnav: don't ignore setting title
Probably a typo in 5e30e7a04
.
Fixes #4283
This commit is contained in:
parent
07ee7fb2c3
commit
7fe7583a7f
|
@ -530,7 +530,7 @@ static int open_s(stream_t *stream)
|
|||
priv->track = TITLE_MENU;
|
||||
} else if (title.len) {
|
||||
bstr rest;
|
||||
priv->title = bstrtoll(title, &rest, 10);
|
||||
priv->track = bstrtoll(title, &rest, 10);
|
||||
if (rest.len) {
|
||||
MP_ERR(stream, "number expected: '%.*s'\n", BSTR_P(rest));
|
||||
return STREAM_ERROR;
|
||||
|
|
Loading…
Reference in New Issue