From e90a37df9ee1893b7110525d436b38a0fc4655e2 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 16 Oct 2012 19:58:58 +0400 Subject: [PATCH] driver/record.cpp: use slow record warning option. this warning tested for generic setup with usb hdd and meant to early tell if record buffer usage reach watermark, where user have chance to stop some of records and save others from overflow under high load. if your think you getting false warnings, disable it Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/d771f625a0683b3a3f65fa1f6e0498f79bf59315 Author: [CST] Focus Date: 2012-10-16 (Tue, 16 Oct 2012) ------------------ This commit was generated by Migit --- src/driver/record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index da3a29682..636149ff0 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1182,7 +1182,7 @@ int CRecordManager::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data error_display = false; warn_display = false; DisplayErrorMessage(g_Locale->getText(LOCALE_STREAMING_OVERFLOW)); - } else if (warn_display) { + } else if (g_settings.recording_slow_warning && warn_display) { warn_display = false; DisplayErrorMessage(g_Locale->getText(LOCALE_STREAMING_SLOW)); }