summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-03-13 02:30:14 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-03-13 02:30:14 +0000
commit2dbc5651d4cc39b6e836a0f88d731f5c7755d163 (patch)
treee550975cdf41c75b190c0349a925018a7a4d29d9 /legacy/emotion/src/bin
parent66954e5331285cec0f88e4fde7f1ba071c893664 (diff)
move emotion to fix latency on video load, deadlocks on stop/shutdown etc.
SVN revision: 28679
Diffstat (limited to 'legacy/emotion/src/bin')
-rw-r--r--legacy/emotion/src/bin/emotion_test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c
index 423dafb603..b044e7e4e1 100644
--- a/legacy/emotion/src/bin/emotion_test_main.c
+++ b/legacy/emotion/src/bin/emotion_test_main.c
@@ -477,7 +477,7 @@ video_obj_frame_resize_cb(void *data, Evas_Object *obj, void *event_info)
477 emotion_object_size_get(obj, &iw, &ih); 477 emotion_object_size_get(obj, &iw, &ih);
478 ratio = emotion_object_ratio_get(obj); 478 ratio = emotion_object_ratio_get(obj);
479 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio); 479 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio);
480 if (ratio > 0.0) iw = ih * ratio; 480 if (ratio > 0.0) iw = (ih * ratio) + 0.5;
481 edje_extern_object_min_size_set(obj, iw, ih); 481 edje_extern_object_min_size_set(obj, iw, ih);
482 edje_object_part_swallow(oe, "video_swallow", obj); 482 edje_object_part_swallow(oe, "video_swallow", obj);
483 edje_object_size_min_calc(oe, &w, &h); 483 edje_object_size_min_calc(oe, &w, &h);