GNOME Bugzilla – Bug 497293
gsttimeoverlay compile error in win32
Last modified: 2007-12-09 05:02:11 UTC
MSVC does not provide rint() function used by gsttimeoverlay, so the gsttimeoverlay won't compile using MSVC.
Created attachment 100091 [details] [review] Make it compile in MSVC 6.0 This patch fixes the compile errors in MSVC 6.0 1) Provide rint() implementation. 2) Use gst_util_guint64_to_gdouble for unsinged __int64 to double conversion.
Thanks, this is fixed in CVS now with a slightly different fix. 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org> Based on a patch by: Kwang Yul Seo <kwangyul dot seo at gmail dot com> * configure.ac: * ext/cairo/gsttimeoverlay.c: (gst_cairo_time_overlay_print_smpte_time): Fix compilation with MSVC by using gst_util_guint64_to_gdouble() and checking for rint() and implementing it ourself if it doesn't exist.