After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521663 - filesrc and filesink should not use open() etc on Windows
filesrc and filesink should not use open() etc on Windows
Status: RESOLVED DUPLICATE of bug 350034
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.17
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-10 20:21 UTC by Sam Thursfield
Modified: 2008-03-11 13:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sam Thursfield 2008-03-10 20:21:30 UTC
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).
Comment 1 Wim Taymans 2008-03-11 13:58:20 UTC

*** This bug has been marked as a duplicate of 350034 ***