diff options
author | wm4 <wm4@nowhere> | 2015-08-05 23:38:23 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-05 23:38:23 +0200 |
commit | 775d81609627e4c6e091ae3761cdb1235f789276 (patch) | |
tree | e2d37ffd47f5eaacfee729024efa0cc85b6c0eb4 /options/options.c | |
parent | 410553aaaacf9762dca00410369010fedf41d826 (diff) | |
download | mpv-775d81609627e4c6e091ae3761cdb1235f789276.tar.bz2 mpv-775d81609627e4c6e091ae3761cdb1235f789276.tar.xz |
demux: remove options to control minimum packet queue size
Remove --demuxer-readahead-packets and --demuxer-readahead-bytes. These
were a bit useless. They could force a minimum packet queue size, but
controlling the queue size with --demuxer-readahead-secs is much nicer.
It's fairly certain nobody ever used these options.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/options/options.c b/options/options.c index bb19a44688..93f7b4a45e 100644 --- a/options/options.c +++ b/options/options.c @@ -242,8 +242,6 @@ const m_option_t mp_opts[] = { OPT_STRING("sub-demuxer", sub_demuxer_name, 0), OPT_FLAG("demuxer-thread", demuxer_thread, 0), OPT_DOUBLE("demuxer-readahead-secs", demuxer_min_secs, M_OPT_MIN, .min = 0), - 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), @@ -721,8 +719,6 @@ const struct MPOpts mp_default_opts = { .file_max = 1024 * 1024, }, .demuxer_thread = 1, - .demuxer_min_packs = 0, - .demuxer_min_bytes = 0, .demuxer_min_secs = 1.0, .network_rtsp_transport = 2, .network_timeout = 0.0, |