forked from enlightenment/enlightenment
use normal emotion function to determine playability of e_thumb files
ref 82f1b8a1c1
ref D4779
This commit is contained in:
parent
adc3c5ac81
commit
9a557876c2
|
@ -366,16 +366,7 @@ _e_thumb_generate(E_Thumb *eth)
|
||||||
|
|
||||||
sortkey = EINA_FALSE;
|
sortkey = EINA_FALSE;
|
||||||
|
|
||||||
if ((ext) &&
|
if (emotion_object_extension_may_play_get(eth->file))
|
||||||
((!strcasecmp(ext, ".mp4")) ||
|
|
||||||
(!strcasecmp(ext, ".m4a")) ||
|
|
||||||
(!strcasecmp(ext, ".m4v")) ||
|
|
||||||
(!strcasecmp(ext, ".mp3")) ||
|
|
||||||
(!strcasecmp(ext, ".ogg")) ||
|
|
||||||
(!strcasecmp(ext, ".ogv")) ||
|
|
||||||
(!strcasecmp(ext, ".aac")) ||
|
|
||||||
(!strcasecmp(ext, ".flac"))
|
|
||||||
))
|
|
||||||
{
|
{
|
||||||
Evas_Object *em;
|
Evas_Object *em;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue