summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-06-29 11:56:48 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-06-29 11:56:48 +0900
commit233e597ff5842cb4d5c1ae7d9df36fd6345a65d4 (patch)
tree1e1556307b54906266e7a300db1fe59d2debdc14
parent352c044524cbc34cc083f0465544e8db95a70184 (diff)
downloadefl-233e597ff5842cb4d5c1ae7d9df36fd6345a65d4.tar.gz
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}
-rw-r--r--src/bin/elementary/test_photocam.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index 0fcb4d5248..5d8564f8c5 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