summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-03-31 16:43:20 +0100
committerRicardo Constantino <wiiaboo@gmail.com>2017-03-31 16:46:58 +0100
commit34e6a26f4d5ae06019d121b77c84ac84aa7069a1 (patch)
tree79a6a064ae40278df8b67f6b29b3f641f77160df /stream
parent9b077a5cca12276e8e22a61d8d61fc639459e6cd (diff)
downloadmpv-34e6a26f4d5ae06019d121b77c84ac84aa7069a1.tar.bz2
mpv-34e6a26f4d5ae06019d121b77c84ac84aa7069a1.tar.xz
wscript: decouple dvdnav check from dvdread
Reallows enabling dvdnav without enabling dvdread which was broken in 77cbb3543 when they were both disabled by default. Since dvdnav requires dvdread, we can enable dvdread:// even if --enable-dvdread isn't passed. Fixes #4290
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream.c b/stream/stream.c
index 94b9c44bc4..469e370fd3 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -93,7 +93,7 @@ static const stream_info_t *const stream_list[] = {
#if HAVE_LIBSMBCLIENT
&stream_info_smb,
#endif
-#if HAVE_DVDREAD
+#if HAVE_DVDREAD || HAVE_DVDNAV
&stream_info_ifo,
&stream_info_dvd,
#endif