add comment about use of 'matched'

This commit is contained in:
WarmUpTill
2020-11-02 19:00:50 +01:00
parent d279b35086
commit 0c6a7b140e

View File

@@ -19,6 +19,7 @@ struct MediaSwitch : SceneSwitcherEntry {
time_restriction restriction = TIME_RESTRICTION_NONE;
int64_t time = 0;
// trigger scene change only once even if media state might trigger repeatedly
bool matched = false;
std::atomic<bool> stopped = false;