From 556e204a112ee286972e50d636dec8b46ca125d7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 16 May 2019 16:29:45 +0200 Subject: player: add --demuxer-cache-wait option --- options/options.c | 1 + options/options.h | 1 + 2 files changed, 2 insertions(+) (limited to 'options') 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; -- cgit v1.2.3