diff options
author | wm4 <wm4@nowhere> | 2018-08-31 12:48:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-08-31 12:55:22 +0200 |
commit | 559a400ac36e75a8d73ba263fd7fa6736df1c2da (patch) | |
tree | 5e117d0ddfd279cae346fc334d4c3f9262509fef /options | |
parent | 5f83b6a5f5939ce39af929f200b1ea236fbe350c (diff) | |
download | mpv-559a400ac36e75a8d73ba263fd7fa6736df1c2da.tar.bz2 mpv-559a400ac36e75a8d73ba263fd7fa6736df1c2da.tar.xz |
demux, stream: rip out the classic stream cache
The demuxer cache is the only cache now. Might need another change to
combat seeking failures in mp4 etc. The only bad thing is the loss of
cache-speed, which was sort of nice to have.
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 3 | ||||
-rw-r--r-- | options/options.h | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/options/options.c b/options/options.c index 5a77e9973d..2548759ddb 100644 --- a/options/options.c +++ b/options/options.c @@ -59,7 +59,6 @@ extern const struct m_sub_options tv_params_conf; extern const struct m_sub_options stream_cdda_conf; extern const struct m_sub_options stream_dvb_conf; extern const struct m_sub_options stream_lavf_conf; -extern const struct m_sub_options stream_cache_conf; extern const struct m_sub_options sws_conf; extern const struct m_sub_options drm_conf; extern const struct m_sub_options demux_rawaudio_conf; @@ -387,8 +386,6 @@ const m_option_t mp_opts[] = { // ------------------------- stream options -------------------- - OPT_SUBSTRUCT("", stream_cache, stream_cache_conf, 0), - #if HAVE_DVDREAD || HAVE_DVDNAV OPT_SUBSTRUCT("", dvd_opts, dvd_conf, 0), #endif /* HAVE_DVDREAD */ diff --git a/options/options.h b/options/options.h index 0eb5451794..a6532b4458 100644 --- a/options/options.h +++ b/options/options.h @@ -59,16 +59,6 @@ typedef struct mp_vo_opts { struct drm_opts *drm_opts; } mp_vo_opts; -struct mp_cache_opts { - int size; - int def_size; - int initial; - int seek_min; - int back_buffer; - char *file; - int file_max; -}; - // Subtitle options needed by the subtitle decoders/renderers. struct mp_subtitle_opts { int sub_visibility; @@ -204,7 +194,6 @@ typedef struct MPOpts { char *force_configdir; int use_filedir_conf; int hls_bitrate; - struct mp_cache_opts *stream_cache; int chapterrange[2]; int edition_id; int correct_pts; @@ -358,7 +347,6 @@ struct filter_opts { extern const m_option_t mp_opts[]; extern const struct MPOpts mp_default_opts; extern const struct m_sub_options vo_sub_opts; -extern const struct m_sub_options stream_cache_conf; extern const struct m_sub_options dvd_conf; extern const struct m_sub_options mp_subtitle_sub_opts; extern const struct m_sub_options mp_osd_render_sub_opts; |