added fixes for jpg
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user