[Bug 654673] non-UTF-8 filename causes warning in URI query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 18 02:29:32 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=654673
  GStreamer | gstreamer (core) | 0.10.35

--- Comment #16 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-07-18 09:29:30 UTC ---
> 2. I don't understand what is the mean of "filesrc"? Is it equal to
> "coreelements" ?

Never mind this one, it's a core element, yes :)

> 3. The uri is a file name got directly from the SD card (FAT32 formated) by
> using Qt's QFileSystemModel class. The codepage is cp936(GB2312, Chinese
> simplified character set). When the name is returned by QFileSystemModel, it is
> added with a suffix of "file://" and then use g_object_set() to set it to
> playbin2.

Ah ok, this is not really correct then (though we do accept it). Try using
gst_filename_to_uri() or g_filename_to_uri() to create an URI from a filename
(these functions will escape things properly).

-- 
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