[MPlayer-cvslog] r20770 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Wed Nov 8 01:11:42 CET 2006


Author: nicodvb
Date: Wed Nov  8 01:11:42 2006
New Revision: 20770

Modified:
   trunk/stream/stream_dvdnav.c

Log:
support for -dvdangle

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Wed Nov  8 01:11:42 2006
@@ -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 @@
     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;



More information about the MPlayer-cvslog mailing list