Discussion:
[Mlt-devel] [mltframework/mlt] e8b92a: Fix #214 setlocale in mlt_properties is slow.
GitHub
2017-03-13 03:44:13 UTC
Permalink
Branch: refs/heads/fix214
Home: https://github.com/mltframework/mlt
Commit: e8b92affcafbc206a5af0d446c446ed339d79a8b
https://github.com/mltframework/mlt/commit/e8b92affcafbc206a5af0d446c446ed339d79a8b
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.
GitHub
2017-03-14 04:17:57 UTC
Permalink
Branch: refs/heads/master
Home: https://github.com/mltframework/mlt
Commit: e8b92affcafbc206a5af0d446c446ed339d79a8b
https://github.com/mltframework/mlt/commit/e8b92affcafbc206a5af0d446c446ed339d79a8b
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...