[gstreamer-bugs] [Bug 313322] New: [PATCH] filesrc doesn't handle file:// URIs

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Fri Aug 12 05:18:54 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=313322
 GStreamer | gstreamer (core) | Ver: 0.8.x

           Summary: [PATCH] filesrc doesn't handle file:// URIs
           Product: GStreamer
           Version: 0.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: rw at handhelds.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


filesrc advertises itself as understanding the file:// protocol through the 
registry. However, it assumes location to be a path and prepends file:// even
if it has a file:// prefix already.

The patch I'm going to attach fixes that so that code like the following will
work:

/* ... */
uri = "file:///home/r/test.ogg"
source = gst_element_make_from_uri (GST_URI_SRC, uri, "source");
/* ... */
g_object_set (G_OBJECT (source), "location", uri, NULL);
/* ... */

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list