summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-08-17 00:00:04 +0000
committerphintuka <phintuka>2006-08-17 00:00:04 +0000
commit370b992af8d6656c667d725a1b12c4245e7e03e5 (patch)
treecff24a32399b7f3d35390e613bae73c759e98153
parent8d26532a70ec5fd5da93a687c491a6a304e7c8b7 (diff)
downloadxineliboutput-370b992af8d6656c667d725a1b12c4245e7e03e5.tar.gz
xineliboutput-370b992af8d6656c667d725a1b12c4245e7e03e5.tar.bz2
Changed DVD mrls
-rw-r--r--menu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 4b5c482b..89e89e72 100644
--- a/menu.c
+++ b/menu.c
@@ -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());