From: Mark Clarkstone Date: Sat, 3 Sep 2016 11:04:14 +0000 (+0100) Subject: mdhelp: add warning about setting incorrect cache scheme and change the default cache... X-Git-Tag: v4.2.1~324 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e02a5db65f6fb1f0b6de1e1f18838294899c508a;p=thirdparty%2Ftvheadend.git mdhelp: add warning about setting incorrect cache scheme and change the default cache scheme from "don't keep" to "system" to prevent crashes on some systems (fixes #3770) --- diff --git a/docs/property/cache_scheme.md b/docs/property/cache_scheme.md index 69c0b76ee..9702442b2 100644 --- a/docs/property/cache_scheme.md +++ b/docs/property/cache_scheme.md @@ -7,6 +7,9 @@ means that there’s a disconnect when writing between the write request (from the application) and the actual write itself (to the disc/storage) as changes are buffered to be written in one go. +Warning, setting an incorrect scheme can lead to crashes. If you're +unsure select *System*. + Scheme | Description -----------------------|------------ **Unknown** | A placeholder status, meaning that the configuration isn’t properly set. diff --git a/src/dvr/dvr_config.c b/src/dvr/dvr_config.c index 4785d986a..45e6f9087 100644 --- a/src/dvr/dvr_config.c +++ b/src/dvr/dvr_config.c @@ -190,7 +190,7 @@ dvr_config_create(const char *name, const char *uuid, htsmsg_t *conf) cfg->dvr_cleanup_threshold_used = 0; // disabled /* Muxer config */ - cfg->dvr_muxcnf.m_cache = MC_CACHE_DONTKEEP; + cfg->dvr_muxcnf.m_cache = MC_CACHE_SYSTEM; /* Default recording file and directory permissions */