summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-13 15:29:27 +0200
committerwm4 <wm4@nowhere>2019-09-13 15:29:27 +0200
commit62294049852549e99ec948e0df16452856afa0c1 (patch)
tree40140c5288fddee2ee96140b382e10eda578fb27 /options
parent877ae46125078d0ad61b85fb0db8c86ca296da3b (diff)
downloadmpv-62294049852549e99ec948e0df16452856afa0c1.tar.bz2
mpv-62294049852549e99ec948e0df16452856afa0c1.tar.xz
Remove libdvdread support in favor of libdvdnav
stream_dvd.c contained large amounts of ancient, unmaintained code, which has been historically moved to libdvdnav. Basically, it's full of low level parsing of DVD on-disc structures. Kill it for good. Users can use the remaining dvdnav support (which basically operates in non-menu mode). Users have reported that libdvdread sometimes works better, but this is just libdvdnav's problem and not ours.
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 26ec289d74..962df9d34b 100644
--- a/options/options.c
+++ b/options/options.c
@@ -386,9 +386,9 @@ const m_option_t mp_opts[] = {
// ------------------------- stream options --------------------
-#if HAVE_DVDREAD || HAVE_DVDNAV
+#if HAVE_DVDNAV
OPT_SUBSTRUCT("", dvd_opts, dvd_conf, 0),
-#endif /* HAVE_DVDREAD */
+#endif
OPT_INTPAIR("chapter", chapterrange, 0, .deprecation_message = "instead of "
"--chapter=A-B use --start=#A --end=#B+1"),
OPT_CHOICE_OR_INT("edition", edition_id, 0, 0, 8190,