From e321875b2508d51f32ce27fd871b230f285ee1d7 Mon Sep 17 00:00:00 2001 From: Philipp Richter Date: Wed, 27 Apr 2022 22:50:47 +0200 Subject: [PATCH] Keep settings on resolution change --- tasmota/xdrv_81_esp32_webcam.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasmota/xdrv_81_esp32_webcam.ino b/tasmota/xdrv_81_esp32_webcam.ino index 811b08fb4..e5a4fd514 100644 --- a/tasmota/xdrv_81_esp32_webcam.ino +++ b/tasmota/xdrv_81_esp32_webcam.ino @@ -482,6 +482,9 @@ int32_t WcSetOptions(uint32_t sel, int32_t value) { case 0: if (value >= 0) { s->set_framesize(s, (framesize_t)value); } res = s->status.framesize; + + // WcFeature is lost on resolution change + WcApplySettings(); break; case 1: if (value >= 0) { s->set_special_effect(s, value); }