[Bug 674296] New: Problem with ges-launch and W32 filenames

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 17 20:41:10 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=674296
  GStreamer | gst-editing-services | git

           Summary: Problem with ges-launch and W32 filenames
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-editing-services
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lrn1986 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


ges-launch does the following for its filename arguments:
1) calls check_path(), which does fopen()
2) if that succeeds, it ensures that path is an URI, by calling ensure_uri()

Problems are:
1) fopen() doesn't understand URIs on W32. Thus the path MUST NOT be an uri, it
must be a DOS-style path (either X:/foo/bar or X:\foo\bar).
2) however, gst_uri_is_valid() (which is what ensure_uri() initially calls)
thinks that a DOS style path is a valid URI (X is the uri type, followed by :,
followed by a path - looks perfectly valid), and ensure_uri() does not change
the path into an URI, which is why GStreamer later fails to use it.

I'm still looking for a correct way of fixing this, without #ifdef G_OS_WIN32

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list