Author: Carlos Lopez <[email protected]>
Date:   Thu Dec 29 12:02:33 2011 +0100

Fix broken ffmpeg target that doesn't work for some non dot decimal points 
numeric locale settings.

---

 synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp 
b/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp
index 528166d..52318d6 100644
--- a/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp
+++ b/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.cpp
@@ -163,6 +163,8 @@ ffmpeg_trgt::init()
        imagecount=desc.get_frame_start();
        if(desc.get_frame_end()-desc.get_frame_start()>0)
                multi_image=true;
+       // this should avoid conflicts with locale settings
+       synfig::ChangeLocale change_locale(LC_NUMERIC, "C");
 
 #if defined(WIN32_PIPE_TO_PROCESSES)
 


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to