# HG changeset patch # User nicodvb # Date 1215187053 0 # Node ID 4c4ce3ecf12577e41ff3a41c0857ba4888dd3c54 # Parent 704a4fdb762ae59aa41553b4116de0b6448ed710 dvd_device must be handled exclusively by the option parser; it can't be changed at will in ifo_stream_open() diff -r 704a4fdb762a -r 4c4ce3ecf125 stream/stream_dvd.c --- 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));