diff options
author | wm4 <wm4@nowhere> | 2019-05-16 16:29:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | 556e204a112ee286972e50d636dec8b46ca125d7 (patch) | |
tree | fb388c85c5ea1de9283ee1957bdd9e154a1d9d66 /options | |
parent | d7c7f80cc1cf5b6a8207a3954ccdc984316c0602 (diff) | |
download | mpv-556e204a112ee286972e50d636dec8b46ca125d7.tar.bz2 mpv-556e204a112ee286972e50d636dec8b46ca125d7.tar.xz |
player: add --demuxer-cache-wait option
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 1 | ||||
-rw-r--r-- | options/options.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 68d33fb000..2c2fcc941d 100644 --- a/options/options.c +++ b/options/options.c @@ -460,6 +460,7 @@ const m_option_t mp_opts[] = { OPT_STRING("sub-demuxer", sub_demuxer_name, 0), OPT_FLAG("demuxer-thread", demuxer_thread, 0), OPT_DOUBLE("demuxer-termination-timeout", demux_termination_timeout, 0), + OPT_FLAG("demuxer-cache-wait", demuxer_cache_wait, 0), OPT_FLAG("prefetch-playlist", prefetch_open, 0), OPT_FLAG("cache-pause", cache_pause, 0), OPT_FLAG("cache-pause-initial", cache_pause_initial, 0), diff --git a/options/options.h b/options/options.h index d9dc5b6a08..5f7c560e71 100644 --- a/options/options.h +++ b/options/options.h @@ -248,6 +248,7 @@ typedef struct MPOpts { char *demuxer_name; int demuxer_thread; double demux_termination_timeout; + int demuxer_cache_wait; int prefetch_open; char *audio_demuxer_name; char *sub_demuxer_name; |