changeset 19842:a43fa4ad378e

at start, when not playing a specific titleset, try to call the Title menu (as is common practice among players)
author nicodvb
date Fri, 15 Sep 2006 22:43:48 +0000
parents e7f56cc4505e
children 5f447cbb63b4
files stream/stream_dvdnav.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Fri Sep 15 21:34:38 2006 +0000
+++ b/stream/stream_dvdnav.c	Fri Sep 15 22:43:48 2006 +0000
@@ -401,8 +401,10 @@
   }
   } else if(p->track == -1)
       dvdnav_menu_call(dvdnav_priv->dvdnav, DVD_MENU_Root);
-    else
+    else {
     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);
+  }
 
   stream->sector_size = 2048;
   stream->flags = STREAM_READ | STREAM_SEEK;