From: Enlightenment S. <no-...@en...> - 2011-06-23 15:33:41
|
Log: emotion: forgottent strange Windows rules. Author: cedric Date: 2011-06-23 08:33:34 -0700 (Thu, 23 Jun 2011) New Revision: 60638 Trac: http://trac.enlightenment.org/e/changeset/60638 Modified: trunk/emotion/src/modules/gstreamer/emotion_gstreamer.c Modified: trunk/emotion/src/modules/gstreamer/emotion_gstreamer.c =================================================================== --- trunk/emotion/src/modules/gstreamer/emotion_gstreamer.c 2011-06-23 14:58:11 UTC (rev 60637) +++ trunk/emotion/src/modules/gstreamer/emotion_gstreamer.c 2011-06-23 15:33:34 UTC (rev 60638) @@ -385,7 +385,11 @@ eina_strbuf_append(sbuf, "file://"); if (strncmp(file, "./", 2) == 0) file += 2; - if (*file != '/') + if (strstr(file, ":/") != NULL) + { /* We absolutly need file:///C:/ under Windows, so adding it here */ + eina_strbuf_append(sbuf, "/"); + } + else if (*file != '/') { char tmp[PATH_MAX]; |