]> git.sesse.net Git - mlt/commit
Ensure serialized yaml is LC_NUMERIC=C.
authorDan Dennedy <dan@dennedy.org>
Mon, 11 Jul 2011 04:44:51 +0000 (21:44 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 11 Jul 2011 04:44:51 +0000 (21:44 -0700)
commit5730164c9f8f4bc3e7d7ad0abdbd809056fbba28
treebdd7136fedaf0e11a680536e6ccbe8272b6d2336
parent67c861311e2916e72e8d3e4be08042f356da92a4
Ensure serialized yaml is LC_NUMERIC=C.

This is needed to ensure consistency. The metadata is read as string
data and converted to numbers on demand. This is why loading defaults to
C locale - since they were authored with that in mind. However, some
plugins dynamically generate metadata and may set values with int or
double. Therefore, we need to make it all output consistently, and for
now that means C.
src/framework/mlt_properties.c