Enlightenment CVS committal
Author : technikolor
Project : misc
Module : eplayer
Dir : misc/eplayer/src
Modified Files:
eplayer.h interface.c
Log Message:
Initial support for LinuxFB.
Also added instructions to the README about creating personal EDB configs for Eplayer.
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/eplayer.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- eplayer.h 16 Jan 2004 05:10:55 -0000 1.19
+++ eplayer.h 28 Jan 2004 11:17:38 -0000 1.20
@@ -3,6 +3,7 @@
#include <Ecore.h>
#include <Ecore_Evas.h>
+#include <Ecore_Fb.h>
#include <pthread.h>
#include "playlist.h"
#include "plugin.h"
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/interface.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- interface.c 28 Jan 2004 04:38:58 -0000 1.40
+++ interface.c 28 Jan 2004 11:17:38 -0000 1.41
@@ -91,12 +91,18 @@
NULL);
- if (!strcasecmp(player->cfg.evas_engine, "gl"))
- player->gui.ee = ecore_evas_gl_x11_new(NULL, 0, 0, 0,
- 0, 0);
- else
- player->gui.ee = ecore_evas_software_x11_new(NULL, 0, 0, 0,
- 0, 0);
+ if (!strcasecmp(player->cfg.evas_engine, "gl")) {
+ debug(DEBUG_LEVEL_INFO, "Starting EVAS GL X11\n");
+ player->gui.ee = ecore_evas_gl_x11_new(NULL, 0, 0, 0, 0, 0);
+ } else if(!strcasecmp(player->cfg.evas_engine, "fb")) {
+ debug(DEBUG_LEVEL_INFO, "Starting EVAS FB\n");
+ player->gui.ee = ecore_evas_fb_new(NULL, 0, 0, 0);
+ } else {
+ debug(DEBUG_LEVEL_INFO, "Starting EVAS X11\n");
+ player->gui.ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 0, 0);
+ }
+
+
if (!player->gui.ee) {
debug(DEBUG_LEVEL_CRITICAL,
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs