Le Mon, 12 Mar 2007 21:30:44 -0500 (EST),
Enlightenment CVS <[EMAIL PROTECTED]> a écrit :
patch to fix emotion compilation with gstreamer
I do this with cvs diff, don't know if it's the better way.
Nicolas.
> 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
? emotion.diff
Index: src/modules/emotion_gstreamer.c
===================================================================
RCS file: /var/cvs/e/e17/libs/emotion/src/modules/emotion_gstreamer.c,v
retrieving revision 1.20
diff -r1.20 emotion_gstreamer.c
1260c1260
< if (!em_module.init(obj, video))
---
> if (!em_module.init(obj, video, opt))
Index: src/modules/emotion_gstreamer.h
===================================================================
RCS file: /var/cvs/e/e17/libs/emotion/src/modules/emotion_gstreamer.h,v
retrieving revision 1.7
diff -r1.7 emotion_gstreamer.h
77c77,78
< void **video);
---
> void **video,
> Emotion_Module_Options *opt);
-------------------------------------------------------------------------
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel