summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-04 15:57:33 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-04 15:57:33 +0000
commit7043b6d0d171f68440dedbc0c5504e733050b4e0 (patch)
tree0fed26994a7bf288d79f3e989fa615f3986eb4ab /stream
parent93b837f0a781e329ec1c06910226b1afd852931a (diff)
downloadmpv-7043b6d0d171f68440dedbc0c5504e733050b4e0.tar.bz2
mpv-7043b6d0d171f68440dedbc0c5504e733050b4e0.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 0 insertions, 2 deletions
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));