GStreamer & setlocale

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GStreamer & setlocale

Andy Robinson
Hello,

I'm finding that GStreamer calls setlocale in gst_init_check and I
suspect in other places too.

My question is:

1) Can this be prevented, can I tell GStreamer not to setlocale? (or at
least to restore it after changing it)

Or failing that...

2) Is there a list somewhere of which GStreamer functions setlocale, so
I can restore it myself after calling them?

I'll be grateful for any assistance.

Regards,
Andy Robinson, Seventh String Software, www.seventhstring.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GStreamer & setlocale

Stefan Sauer
On 09/17/11 15:46, Andy Robinson wrote:

> Hello,
>
> I'm finding that GStreamer calls setlocale in gst_init_check and I
> suspect in other places too.
>
> My question is:
>
> 1) Can this be prevented, can I tell GStreamer not to setlocale? (or
> at least to restore it after changing it)
>
> Or failing that...
>
> 2) Is there a list somewhere of which GStreamer functions setlocale,
> so I can restore it myself after calling them?

It is only in gst_init() (and the g_option variant). This is pretty
normal and you can prevent it my building gstreamer with --disable-nls

Stefan

>
> I'll be grateful for any assistance.
>
> Regards,
> Andy Robinson, Seventh String Software, www.seventhstring.com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel