diff options
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: menu.c,v 1.7 2006-08-16 21:13:04 phintuka Exp $ + * $Id: menu.c,v 1.8 2006-08-17 00:00:04 phintuka Exp $ * */ @@ -201,7 +201,11 @@ eOSState cMenuBrowseFiles::Open(bool ForceOpen, bool Parent) if(!ForceOpen && GetCurrent()->IsDvd()) { /* play dvd */ char *f = NULL; +#if 0 asprintf(&f, "dvd://%s/%s", m_CurrentDir, GetCurrent()->Name()); +#else + asprintf(&f, "dvd:%s/%s", m_CurrentDir, GetCurrent()->Name()); +#endif cControl::Launch(new cXinelibDvdPlayerControl(f)); free(f); return osEnd; @@ -756,7 +760,11 @@ eOSState cMenuXinelib::ProcessKey(eKeys Key) } state = osContinue; case osUser4: +#if 0 cControl::Launch(new cXinelibDvdPlayerControl("dvd://")); +#else + cControl::Launch(new cXinelibDvdPlayerControl("dvd:/")); +#endif return osEnd; case osUser5: AddSubMenu(new cDvdSpuTrackSelect()); |