summaryrefslogtreecommitdiff
path: root/legacy/ethumb
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-06-25 08:21:22 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-06-25 08:21:22 +0000
commit726b1ffb7fa260121474e3d7945ee3790a8058a5 (patch)
treeec08bd3f409633aaae426c63df8e6d4f365653eb /legacy/ethumb
parent096f2266caf79203e4a2e41cd88cafd88f0f1df5 (diff)
faster single frame gen
SVN revision: 49853
Diffstat (limited to 'legacy/ethumb')
-rw-r--r--legacy/ethumb/src/plugins/emotion/emotion.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/ethumb/src/plugins/emotion/emotion.c b/legacy/ethumb/src/plugins/emotion/emotion.c
index 3bb5320bca..39fa79712d 100644
--- a/legacy/ethumb/src/plugins/emotion/emotion.c
+++ b/legacy/ethumb/src/plugins/emotion/emotion.c
@@ -191,7 +191,8 @@ _frame_grab_single(void *data)
191 } 191 }
192 192
193 p = emotion_object_position_get(_plugin->video); 193 p = emotion_object_position_get(_plugin->video);
194 if (p < _plugin->pi) 194// if (p < _plugin->pi)
195 if (p <= 0.0)
195 return EINA_TRUE; 196 return EINA_TRUE;
196 197
197 DBG("saving static thumbnail at position=%f (intended=%f)", p, _plugin->pi); 198 DBG("saving static thumbnail at position=%f (intended=%f)", p, _plugin->pi);
@@ -203,6 +204,7 @@ _frame_grab_single(void *data)
203 emotion_object_play_set(_plugin->video, 0); 204 emotion_object_play_set(_plugin->video, 0);
204 evas_object_del(_plugin->video); 205 evas_object_del(_plugin->video);
205 free(_plugin); 206 free(_plugin);
207
206 ethumb_finished_callback_call(e, 1); 208 ethumb_finished_callback_call(e, 1);
207 209
208 return EINA_FALSE; 210 return EINA_FALSE;