[MPlayer-cvslog] r27196 - trunk/stream/stream_dvd.c

nicodvb subversion at mplayerhq.hu
Fri Jul 4 17:57:33 CEST 2008


Author: nicodvb
Date: Fri Jul  4 17:57:33 2008
New Revision: 27196

Log:
dvd_device must be handled exclusively by the option parser; it can't be changed at will in ifo_stream_open()

Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Fri Jul  4 17:57:33 2008
@@ -1091,8 +1091,6 @@ ifo_stream_open (stream_t *stream, int m
         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));
 



More information about the MPlayer-cvslog mailing list