feat(img_decoder) add frame_id parameter to the image decoder

Related to #2090
This commit is contained in:
Gabor Kiss-Vamosi
2021-04-14 17:04:24 +02:00
parent e4345bd7f5
commit ff330b0f42
6 changed files with 25 additions and 29 deletions

View File

@@ -236,7 +236,7 @@ LV_ATTRIBUTE_FAST_MEM static lv_res_t lv_img_draw_core(const lv_area_t * coords,
{
if(draw_dsc->opa <= LV_OPA_MIN) return LV_RES_OK;
lv_img_cache_entry_t * cdsc = _lv_img_cache_open(src, draw_dsc->recolor);
lv_img_cache_entry_t * cdsc = _lv_img_cache_open(src, draw_dsc->recolor, draw_dsc->frame_id);
if(cdsc == NULL) return LV_RES_INV;