From 5ddad9ec966af02b8451de4aaa4096b8992040cb Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 25 Feb 2011 11:33:19 +0000 Subject: [PATCH] emotion: override engine by setting EMOTION_ENGINE environ. SVN revision: 57320 --- legacy/emotion/src/lib/emotion_smart.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c index 87f8929ee6..ad141db933 100644 --- a/legacy/emotion/src/lib/emotion_smart.c +++ b/legacy/emotion/src/lib/emotion_smart.c @@ -187,6 +187,9 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module ** return NULL; } + if (!name && getenv("EMOTION_ENGINE")) + name = getenv("EMOTION_ENGINE"); + /* FIXME: Always look for a working backend. */ retry: if (!name || index > 0)