From 7043b6d0d171f68440dedbc0c5504e733050b4e0 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Fri, 4 Jul 2008 15:57:33 +0000 Subject: dvd_device must be handled exclusively by the option parser; it can't be changed at will in ifo_stream_open() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27196 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'stream') diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index 941cb824a2..98b648126b 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -1091,8 +1091,6 @@ ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_format) 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)); -- cgit v1.2.3