lv_lib_gif icon indicating copy to clipboard operation
lv_lib_gif copied to clipboard

aniamated gif stopped animation v7 branch

Open glory-man opened this issue 3 years ago • 3 comments

I tried to use v7 version and have problem. loop_count = 0 means that animation should repeated infinitely. https://github.com/lvgl/lv_lib_gif/blob/afdc2d69c7e80210256fd84837b839320fe2618a/lv_gif.c#L120-L143 In my example animated gif with loop_count = 0 shows only 1 cycle after that LV_SIGNAL_LEAVE sended wich cause lv_task_set_prio(ext->task, LV_TASK_PRIO_OFF); and animation freezes. I still don't understand something in this code https://github.com/lvgl/lv_lib_gif/blob/afdc2d69c7e80210256fd84837b839320fe2618a/lv_gif.c#L138-L141 As far as I understand ext->gif->loop_count read every time from file and in next next_frame_task_cb() call will updated to start value (from file).

glory-man avatar Jan 04 '23 13:01 glory-man

It was just updated in LVGL. Probably it can be applied here too. See https://github.com/lvgl/lvgl/issues/3883

kisvegabor avatar Jan 06 '23 20:01 kisvegabor

It was just updated in LVGL. Probably it can be applied here too. See lvgl/lvgl#3883

I will look into this issue

glory-man avatar Jan 09 '23 13:01 glory-man

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 20 '23 02:04 stale[bot]