From 658d39dac8776d01dd2b8399f2ac7f991b489908 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 16 Jul 2009 23:13:16 +0000 Subject: [PATCH] emotion supports mov, make template edje more efficient. * add .mov as supported extension. * disable mouse events and smooth scale, hint scale as dynamic. SVN revision: 41375 --- legacy/ethumb/src/plugins/emotion/emotion.c | 2 +- legacy/ethumb/src/plugins/emotion/template.edc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/legacy/ethumb/src/plugins/emotion/emotion.c b/legacy/ethumb/src/plugins/emotion/emotion.c index d14ce0e1b7..227d2cac0e 100644 --- a/legacy/ethumb/src/plugins/emotion/emotion.c +++ b/legacy/ethumb/src/plugins/emotion/emotion.c @@ -340,7 +340,7 @@ _generate_thumb(Ethumb *e) EAPI Ethumb_Plugin * ethumb_plugin_get(void) { - static const char *extensions[] = { "avi", "mp4", "ogv", NULL }; + static const char *extensions[] = { "avi", "mp4", "ogv", "mov", NULL }; static Ethumb_Plugin plugin = { extensions, diff --git a/legacy/ethumb/src/plugins/emotion/template.edc b/legacy/ethumb/src/plugins/emotion/template.edc index 2985b29180..4a30c3deac 100644 --- a/legacy/ethumb/src/plugins/emotion/template.edc +++ b/legacy/ethumb/src/plugins/emotion/template.edc @@ -7,8 +7,11 @@ collections { part { name: "image"; type: IMAGE; + mouse_events: 0; description { state: "default" 0.0; + fill.smooth: 0; + image.scale_hint: DYNAMIC; } } }