diff --git a/README b/README index 81a6cb9..c8ee9e1 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Rage 0.1.0 +Rage 0.1.2 ****************************************************************************** diff --git a/configure.ac b/configure.ac index ae04aa7..ab6c6b9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # get rid of that stupid cache mechanism rm -f config.cache -AC_INIT([rage], [0.1.1], [enlightenment-devel@lists.sourceforge.net]) +AC_INIT([rage], [0.1.2], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.60]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/bin/videothumb.c b/src/bin/videothumb.c index 2d33a75..375610e 100644 --- a/src/bin/videothumb.c +++ b/src/bin/videothumb.c @@ -371,7 +371,20 @@ videothumb_file_set(Evas_Object *obj, const char *file, double pos) if ((sd->file == file) && (sd->pos == pos)) return; if (sd->file) eina_stringshare_del(sd->file); sd->file = eina_stringshare_add(file); - sd->realpath = ecore_file_realpath(sd->file); + if (!strncasecmp(sd->file, "file:/", 6)) + { + Efreet_Uri *uri = efreet_uri_decode(sd->file); + if (uri) + { + sd->realpath = strdup(uri->path); + efreet_uri_free(uri); + } + } + else if ((!strncasecmp(sd->file, "http:/", 6)) || + (!strncasecmp(sd->file, "https:/", 7))) + sd->realpath = strdup(sd->file); + else + sd->realpath = ecore_file_realpath(sd->file); sd->pos = pos; _videothumb_eval(obj, EINA_TRUE); }