Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_media.c
Log Message:
- fix the media test so you can open files correctly
- Note, there is something wrong with the layering in the media object at
the moment. if you play a video you can hear the audio, but the video
dosen't appear.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_media.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ewl_media.c 26 May 2006 17:25:59 -0000 1.19
+++ ewl_media.c 28 May 2006 01:32:17 -0000 1.20
@@ -491,7 +491,7 @@
* Create the emotion
*/
m->video = emotion_object_add(emb->evas);
- if (ewl_media_module_set(m, m->module)) {
+ if (ewl_media_module_set(m, m->module) && m->media) {
emotion_object_file_set(m->video, m->media);
ewl_media_size_update(m);
}
@@ -582,6 +582,7 @@
#ifdef BUILD_EMOTION_SUPPORT
emotion_object_size_get(m->video, &width, &height);
#endif
+
if (width && height)
ewl_object_preferred_inner_size_set(EWL_OBJECT(m), width,
height);
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs