From 46d3cd2c294ca0f1b9ac4ab1183a24b1f9e63dac Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 23 Jun 2011 15:33:34 +0000 Subject: [PATCH] emotion: forgottent strange Windows rules. SVN revision: 60638 --- legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c index 0295d4f3fe..8c4c3a6ff1 100644 --- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c +++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer.c @@ -385,7 +385,11 @@ em_file_open(const char *file, 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];