From: Amitesh Singh Date: Thu, 29 Jun 2017 02:56:48 +0000 (+0900) Subject: elm test: image zoomable - allow gif to be played in test example X-Git-Tag: upstream/1.20.0~418 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=233e597ff5842cb4d5c1ae7d9df36fd6345a65d4;p=platform%2Fupstream%2Fefl.git elm test: image zoomable - allow gif to be played in test example play gif file if its selected through file selector elm test -> photocam -> select photo -> {select any gif anim file} --- diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c index 0fcb4d5..5d8564f 100644 --- a/src/bin/elementary/test_photocam.c +++ b/src/bin/elementary/test_photocam.c @@ -149,6 +149,10 @@ my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) eina_list_free(grps); } + + if (file && eina_str_has_extension(file, ".gif") + && efl_player_playable_get(ph)) + efl_player_play_set(ph, EINA_TRUE); } static void