summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 15:22:13 -0500
committerDudemanguy <random342@airmail.cc>2023-09-22 14:20:38 +0000
commita703dc10c88f42cc4b4033721b03d2ac63800f39 (patch)
tree6169d41ff5022306b1004ea5573884894e44a695 /options/options.c
parent84d6044d2bd4b0a2b6bc8d6f3deaf37747619284 (diff)
downloadmpv-a703dc10c88f42cc4b4033721b03d2ac63800f39.tar.bz2
mpv-a703dc10c88f42cc4b4033721b03d2ac63800f39.tar.xz
options: move some demux-specific opts to demux opts
These options are only ever accessed by the demuxer and have no need to be in MPOpts. Move them to demux.c instead.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/options/options.c b/options/options.c
index 40f1f6ff83..5e893c4b86 100644
--- a/options/options.c
+++ b/options/options.c
@@ -516,8 +516,6 @@ static const m_option_t mp_opts[] = {
{"image-display-duration", OPT_DOUBLE(image_display_duration),
M_RANGE(0, INFINITY)},
- {"index", OPT_CHOICE(index_mode, {"default", 1}, {"recreate", 0})},
-
// select audio/video/subtitle stream
// keep in sync with num_ptracks[] and MAX_PTRACKS
{"aid", OPT_TRACKCHOICE(stream_id[0][STREAM_AUDIO])},
@@ -564,8 +562,6 @@ static const m_option_t mp_opts[] = {
{"cache-pause-initial", OPT_BOOL(cache_pause_initial)},
{"cache-pause-wait", OPT_FLOAT(cache_pause_wait), M_RANGE(0, DBL_MAX)},
- {"mf-fps", OPT_DOUBLE(mf_fps)},
- {"mf-type", OPT_STRING(mf_type)},
#if HAVE_DVBIN
{"dvbin", OPT_SUBSTRUCT(stream_dvb_opts, stream_dvb_conf)},
#endif
@@ -1001,10 +997,6 @@ static const struct MPOpts mp_default_opts = {
.auto_safe = 1,
},
- .index_mode = 1,
-
- .mf_fps = 1.0,
-
.display_tags = (char *[]){
"Artist", "Album", "Album_Artist", "Comment", "Composer",
"Date", "Description", "Genre", "Performer", "Rating",