mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
try to start from the root menu skipping all intros when playing dvdnav://-1; it's not guaranteed to work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19786 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1f8a8f343d
commit
311e24b548
@ -410,7 +410,9 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
|
|||||||
mp_msg(MSGT_OPEN,MSGL_FATAL,"dvdnav_stream, couldn't select title %d, error '%s'\n", p->track, dvdnav_err_to_string(dvdnav_priv->dvdnav));
|
mp_msg(MSGT_OPEN,MSGL_FATAL,"dvdnav_stream, couldn't select title %d, error '%s'\n", p->track, dvdnav_err_to_string(dvdnav_priv->dvdnav));
|
||||||
return STREAM_UNSUPORTED;
|
return STREAM_UNSUPORTED;
|
||||||
}
|
}
|
||||||
} else
|
} else if(p->track == -1)
|
||||||
|
dvdnav_menu_call(dvdnav_priv->dvdnav, DVD_MENU_Root);
|
||||||
|
else
|
||||||
mp_msg(MSGT_OPEN,MSGL_INFO,"dvdnav_stream, you didn't specify a track number (as in dvdnav://1), playing whole disc\n");
|
mp_msg(MSGT_OPEN,MSGL_INFO,"dvdnav_stream, you didn't specify a track number (as in dvdnav://1), playing whole disc\n");
|
||||||
|
|
||||||
stream->sector_size = 2048;
|
stream->sector_size = 2048;
|
||||||
|
Loading…
Reference in New Issue
Block a user