aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_photocam.c
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 /src/bin/elementary/test_photocam.c
parentelua: use up to date lua API (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}
Diffstat (limited to 'src/bin/elementary/test_photocam.c')
-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