support for -dvdangle

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20770 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-11-08 00:11:42 +00:00
parent cac3e68147
commit 5cc6005c86
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
extern char *dvd_device;
extern int dvd_chapter;
extern int dvd_last_chapter;
extern int dvd_angle;
extern char *audio_lang, *dvdsub_lang;
static struct stream_priv_s {
@ -320,6 +321,8 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
mp_msg(MSGT_OPEN,MSGL_INFO,"dvdnav_stream, you didn't specify a track number (as in dvdnav://1), playing whole disc\n");
dvdnav_menu_call(dvdnav_priv->dvdnav, DVD_MENU_Title);
}
if(dvd_angle > 1)
dvdnav_angle_change(dvdnav_priv->dvdnav, dvd_angle);
stream->sector_size = 2048;
stream->flags = STREAM_READ | STREAM_SEEK;