summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index d92a0eef5d..7523be990a 100644
--- a/options/options.c
+++ b/options/options.c
@@ -243,6 +243,8 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("demuxer-readahead-packets", demuxer_min_packs, 0, 0, MAX_PACKS),
OPT_INTRANGE("demuxer-readahead-bytes", demuxer_min_bytes, 0, 0, MAX_PACK_BYTES),
+ OPT_FLAG("force-seekable", force_seekable, 0),
+
OPT_DOUBLE("cache-secs", demuxer_min_secs_cache, M_OPT_MIN, .min = 0),
OPT_FLAG("cache-pause", cache_pausing, 0),
diff --git a/options/options.h b/options/options.h
index 9d211390e0..b43e28a06f 100644
--- a/options/options.h
+++ b/options/options.h
@@ -199,6 +199,7 @@ typedef struct MPOpts {
double demuxer_min_secs;
char *audio_demuxer_name;
char *sub_demuxer_name;
+ int force_seekable;
double demuxer_min_secs_cache;
int cache_pausing;