Discussion:
[mltframework/mlt] 29d0fc: Fix #214 setlocale in mlt_properties is slow.
(too old to reply)
GitHub
2017-03-12 19:46:57 UTC
Permalink
Raw Message
Branch: refs/heads/fix214
Home: https://github.com/mltframework/mlt
Commit: 29d0fc7138eba2a3eda5be7d03666b253f190de6
https://github.com/mltframework/mlt/commit/29d0fc7138eba2a3eda5be7d03666b253f190de6
Author: Dan Dennedy <***@dennedy.org>
Date: 2017-03-12 (Sun, 12 Mar 2017)

Changed paths:
M src/framework/mlt_properties.c
M src/framework/mlt_property.c

Log Message:
-----------
Fix #214 setlocale in mlt_properties is slow.

On Windows, this change makes mlt_properties_set_lcnumeric() no-op and
mlt_property and mlt_properties insenstive to the locale parameters.
IOW, it always uses the thread's locale. Mainly, this means that the
LC_NUMERIC attribute in MLT XML is not honored on Windows, and the
document is instead interpreted in the thread's locale.

Loading...