changeset 27164:4c4ce3ecf125

dvd_device must be handled exclusively by the option parser; it can't be changed at will in ifo_stream_open()
author nicodvb
date Fri, 04 Jul 2008 15:57:33 +0000
parents 704a4fdb762a
children e3b2b66834c6
files stream/stream_dvd.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Fri Jul 04 15:54:45 2008 +0000
+++ b/stream/stream_dvd.c	Fri Jul 04 15:57:33 2008 +0000
@@ -1091,8 +1091,6 @@
         return STREAM_UNSUPPORTED;
 
     mp_msg(MSGT_DVD, MSGL_INFO, ".IFO detected. Redirecting to dvd://\n");
-    if (!dvd_device)
-        dvd_device = strdup(dirname (stream->url));
 
     filename = strdup(basename(stream->url));