aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 14:18:03 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 14:16:26 -0500
commit9a557876c2fc8f24579dbd34248815fe93633acf (patch)
tree7262ded8ad5055baebfa9a98cab338bebd33bec1
parentclamp large windows to desk's useful geometry if smart placement fails (diff)
downloadenlightenment-9a557876c2fc8f24579dbd34248815fe93633acf.tar.gz
use normal emotion function to determine playability of e_thumb files
-rw-r--r--src/bin/e_thumb_main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/bin/e_thumb_main.c b/src/bin/e_thumb_main.c
index cef80efa2..85127bfab 100644
--- a/src/bin/e_thumb_main.c
+++ b/src/bin/e_thumb_main.c
@@ -366,16 +366,7 @@ _e_thumb_generate(E_Thumb *eth)
sortkey = EINA_FALSE;
- if ((ext) &&
- ((!strcasecmp(ext, ".mp4")) ||
- (!strcasecmp(ext, ".m4a")) ||
- (!strcasecmp(ext, ".m4v")) ||
- (!strcasecmp(ext, ".mp3")) ||
- (!strcasecmp(ext, ".ogg")) ||
- (!strcasecmp(ext, ".ogv")) ||
- (!strcasecmp(ext, ".aac")) ||
- (!strcasecmp(ext, ".flac"))
- ))
+ if (emotion_object_extension_may_play_get(eth->file))
{
Evas_Object *em;