GNOME Bugzilla – Bug 521663
filesrc and filesink should not use open() etc on Windows
Last modified: 2008-03-11 13:58:20 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).
*** This bug has been marked as a duplicate of 350034 ***