[longomatch] fix path to uri conversion on windows



commit 39ea47a7a322e75bb293910a82aded089149ab01
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Mar 28 10:56:48 2013 +0100

    fix path to uri conversion on windows

 libcesarplayer/video-utils.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/video-utils.c b/libcesarplayer/video-utils.c
index 60d409e..d392deb 100644
--- a/libcesarplayer/video-utils.c
+++ b/libcesarplayer/video-utils.c
@@ -307,7 +307,11 @@ lgm_discover_uri (
   GstDiscovererResult ret;
   gchar *uri, *path;
 
+#ifdef G_OS_WIN32
+  if (g_path_is_absolute(filename) || !gst_uri_is_valid (filename)) {
+#else
   if (!gst_uri_is_valid (filename)) {
+#endif
     if (!g_path_is_absolute (filename)) {
       gchar *cur_dir;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]