summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-02-11 21:08:38 +0100
committerDudemanguy <random342@airmail.cc>2023-07-06 18:17:45 +0000
commitf266eadf1eae920d645477b9658c6847aca47ff5 (patch)
tree20ecfe5810a91a40771b432676b4d6c4bf08786b /options/options.h
parent9ad14e08863463accdf88cf9e9818e5ee0fd1d23 (diff)
downloadmpv-f266eadf1eae920d645477b9658c6847aca47ff5.tar.bz2
mpv-f266eadf1eae920d645477b9658c6847aca47ff5.tar.xz
demux_playlist: add option to control recursive directory loading
Directories were always loaded recursively, which can be slow (e.g. one of the subdirectories is a mounting point to a slow device) and can unexpectedly expand into a massive playlist. Due to the problems described in 503dada42f1ea1007768da0dc6a41b67cdf89400, this defaults to recursive loading. ref. https://github.com/mpv-player/mpv/issues/9652
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index 0125c433f5..0224e5609d 100644
--- a/options/options.h
+++ b/options/options.h
@@ -326,6 +326,7 @@ typedef struct MPOpts {
struct demux_rawaudio_opts *demux_rawaudio;
struct demux_rawvideo_opts *demux_rawvideo;
+ struct demux_playlist_opts *demux_playlist;
struct demux_lavf_opts *demux_lavf;
struct demux_mkv_opts *demux_mkv;
struct demux_cue_opts *demux_cue;