|
|
|
@ -542,8 +542,6 @@ _stabilization_timer_cb(void *data EINA_UNUSED) |
|
|
|
|
Exactness_Image *last_img = efl_key_data_get(e, "_last_shot"); |
|
|
|
|
Exactness_Image *cur_img = _snapshot_shot_get(e); |
|
|
|
|
if (!last_img || exactness_image_compare(last_img, cur_img, NULL)) need_more = STAB_MAX; |
|
|
|
|
if (need_more != STAB_MAX) printf("cur == last\n"); |
|
|
|
|
else printf("cur != last\n"); |
|
|
|
|
exactness_image_free(last_img); |
|
|
|
|
efl_key_data_set(e, "_last_shot", cur_img); |
|
|
|
|
} |
|
|
|
@ -564,7 +562,6 @@ _stabilization_timer_cb(void *data EINA_UNUSED) |
|
|
|
|
ecore_timer_add(act->delay_ms / 1000.0, _feed_event_timer_cb, NULL); |
|
|
|
|
} |
|
|
|
|
need_more = STAB_MAX; |
|
|
|
|
printf("end stab\n"); |
|
|
|
|
return ECORE_CALLBACK_CANCEL; |
|
|
|
|
} |
|
|
|
|
need_more--; |
|
|
|
|