clockoverlay: Fix broken string formatting by strftime() on Windows
authorSeungha Yang <seungha@centricular.com>
Sun, 4 Apr 2021 15:34:21 +0000 (00:34 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Apr 2021 08:27:53 +0000 (08:27 +0000)
commitb70e83c409acfd0c29defb24f1e8f749c8560560
tree93a30015dc2de9cec985a893b60a0f118903db39
parent1d5ad7d1da8afc410550c7c1b3f46dbebd029576
clockoverlay: Fix broken string formatting by strftime() on Windows

Like other foobarA variant APIs on Windows, formatted string
by strftime() is ANSI string, not unicode encoded one.
It would be problematic for non-english locale systems.
We should use unicode version API (wcsftime in this case)
whenever it's possible on Windows.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1093>
ext/pango/gstclockoverlay.c
ext/pango/gstclockoverlay.h