Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/bin


Modified Files:
        emotion_test_main.c 


Log Message:


move emotion to fix latency on video load, deadlocks on stop/shutdown etc.

===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/bin/emotion_test_main.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- emotion_test_main.c 30 Sep 2006 10:18:31 -0000      1.14
+++ emotion_test_main.c 13 Mar 2007 02:30:14 -0000      1.15
@@ -477,7 +477,7 @@
    emotion_object_size_get(obj, &iw, &ih);
    ratio = emotion_object_ratio_get(obj);
    printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio);
-   if (ratio > 0.0) iw = ih * ratio;
+   if (ratio > 0.0) iw = (ih * ratio) + 0.5;
    edje_extern_object_min_size_set(obj, iw, ih);
    edje_object_part_swallow(oe, "video_swallow", obj);
    edje_object_size_min_calc(oe, &w, &h);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to