added fixes for jpg

This commit is contained in:
2026-08-20 21:49:05 +02:00
parent 81717cb9a8
commit 2b5004a569
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ void FastJpeg::dump_config() {
}
void FastJpeg::update() {
if (this->is_failed() || this->task_ == nullptr)
if (this->is_failed() || this->task_ == nullptr || !this->enabled_.load())
return;
if (this->busy_.load() || this->decoded_ready_.load())
return;