[Bug 766214] gst-launch: Does not support non-UTF8 shell

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 10 16:16:51 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766214

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |nicolas at ndufresne.ca
         Resolution|NOTABUG                     |---
            Summary|filesink cannot open files  |gst-launch: Does not
                   |with local characters on    |support non-UTF8 shell
                   |windows                     |

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Sebastian Dröge (slomo) from comment #1)
> You need to provide all filenames (and all strings in general) to GStreamer
> (and GLib) as UTF8.

I think you missed the point. Adding g_local_to_utf8() in gst-launch-1.0 seems
to make a lot of sense to me. We can't assume the shell will run in UTF-8.
Normally the GOption stuff will deal with that, but we don't ask it to extract
the remaining options, instead we get it ourself (for legacy reason).

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