From 559a400ac36e75a8d73ba263fd7fa6736df1c2da Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 31 Aug 2018 12:48:36 +0200 Subject: 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. --- options/options.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'options/options.h') 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; -- cgit v1.2.3