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

nicodvb subversion at mplayerhq.hu
Sun Sep 10 12:48:36 CEST 2006


Author: nicodvb
Date: Sun Sep 10 12:48:36 2006
New Revision: 19786

Modified:
   trunk/stream/stream_dvdnav.c

Log:
try to start from the root menu skipping all intros when playing dvdnav://-1; it's not guaranteed to work

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Sun Sep 10 12:48:36 2006
@@ -410,7 +410,9 @@
     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;
   }
-  } 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");
 
   stream->sector_size = 2048;



More information about the MPlayer-cvslog mailing list