emotion: override engine by setting EMOTION_ENGINE environ.

SVN revision: 57320
This commit is contained in:
Cedric BAIL 2011-02-25 11:33:19 +00:00
parent 1382cfb6b3
commit 5ddad9ec96
1 changed files with 3 additions and 0 deletions

View File

@ -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)