aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ethumb/src/bin/ethumb.c
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2009-07-13 19:38:17 +0000
committerRafael Antognolli <antognolli@gmail.com>2009-07-13 19:38:17 +0000
commit31fc2b0dfaaeb3af320b23a78baf5429763bba54 (patch)
tree33d614908d7652c08742b225046dda80e8c7285d /legacy/ethumb/src/bin/ethumb.c
parentChanging boolean flags to Eina_Bool. (diff)
downloadefl-31fc2b0dfaaeb3af320b23a78baf5429763bba54.tar.gz
Added support to creating animated thumbnails from videos.
These thumbnails are generated using an edje template. Each thumbnail is an edje file, that has a group called "movie/thumb" The thumbnail can be animated by receiving a signal "animate" or "animate_loop" (the last one being a loop animation that calls itself when finished), and the animate_loop program can be stopped by receiving a signal "animate_stop". The transition time is set based on the time of the animation (that is set by the call ethumb_video_time_set()). SVN revision: 41322
Diffstat (limited to 'legacy/ethumb/src/bin/ethumb.c')
-rw-r--r--legacy/ethumb/src/bin/ethumb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ethumb/src/bin/ethumb.c b/legacy/ethumb/src/bin/ethumb.c
index faf6e801f4..72681f3c4b 100644
--- a/legacy/ethumb/src/bin/ethumb.c
+++ b/legacy/ethumb/src/bin/ethumb.c
@@ -31,7 +31,7 @@
#include <Ecore.h>
const char *aspect_opt[] = { "keep", "ignore", "crop", NULL };
-const char *format_opt[] = { "png", "jpg", NULL };
+const char *format_opt[] = { "png", "jpg", "eet", NULL };
struct frame
{
const char *file;
@@ -182,7 +182,7 @@ main(int argc, char *argv[])
r = 0;
}
- for (i = 0; i < 2; i++)
+ for (i = 0; i < 3; i++)
if (format_opt[i] == format_str)
{
format = i;