[gstreamer-bugs] [Bug 521663] New: filesrc and filesink should not use open() etc on Windows
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Mar 10 13:21:31 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=521663
GStreamer | gstreamer (core) | Ver: 0.10.17
Summary: filesrc and filesink should not use open() etc on
Windows
Product: GStreamer
Version: 0.10.17
Platform: Other
OS/Version: Windows
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ssssam at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
gstreamer can't play some files on Windows due to their character encoding.
This is because filesrc and filesink use open() etc, which only handle 8-bit
character strings.
To me it seems the easiest solution is to convert these to use g_open. On POSIX
this simply wraps open and on Windows converts the path from UTF8 to UTF16 and
calls wopen (16-bit string version).
This seems like a big change, but to me it seems that on POSIX it would change
nothing and on Windows, wouldn't break anything that wasn't already broken
(expecting filenames in bizarre encodings to work when open() simply wouldn't
find them).
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=521663.
More information about the Gstreamer-bugs
mailing list