From 2eb77a18661697a1f1ef65cb2887947740b23b6f Mon Sep 17 00:00:00 2001 From: ligenxxxx Date: Thu, 6 Jun 2024 14:16:44 +0800 Subject: [PATCH] sleep 10ms before rec start --- src/core/dvr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/dvr.c b/src/core/dvr.c index fef9a72f..c3245798 100644 --- a/src/core/dvr.c +++ b/src/core/dvr.c @@ -168,6 +168,7 @@ void dvr_cmd(osd_dvr_cmd_t cmd) { if (!dvr_is_recording && g_sdcard_size >= 103) { dvr_update_record_conf(); dvr_is_recording = true; + usleep(10 * 1000); system_script(REC_START); sleep(2); // wait for record process }