From: cedric Date: Fri, 25 Feb 2011 11:33:19 +0000 (+0000) Subject: emotion: override engine by setting EMOTION_ENGINE environ. X-Git-Tag: submit/2.0alpha-wayland/20121127.222018~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ed97117c523951b1580aa075854fd1b82add33d;p=profile%2Fivi%2Femotion.git emotion: override engine by setting EMOTION_ENGINE environ. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@57320 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/emotion_smart.c b/src/lib/emotion_smart.c index 87f8929..ad141db 100644 --- a/src/lib/emotion_smart.c +++ b/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)