projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352c044
)
elm test: image zoomable - allow gif to be played in test example
author
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 29 Jun 2017 02:56:48 +0000
(11:56 +0900)
committer
Amitesh Singh
<amitesh.sh@samsung.com>
Thu, 29 Jun 2017 02:56:48 +0000
(11:56 +0900)
play gif file if its selected through file selector
elm test -> photocam -> select photo -> {select any gif anim file}
src/bin/elementary/test_photocam.c
patch
|
blob
|
history
diff --git
a/src/bin/elementary/test_photocam.c
b/src/bin/elementary/test_photocam.c
index
0fcb4d5
..
5d8564f
100644
(file)
--- 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