datetime: Return G_MAXFLOAT instead of G_MAXDOUBLE for no timezone offset
authorSebastian Dröge <sebastian@centricular.com>
Fri, 24 Mar 2023 16:34:36 +0000 (18:34 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Mar 2023 01:32:53 +0000 (01:32 +0000)
commitf6934e6de6759b207e54e964ca0f32f06ef128d6
treedbf9885eea393b00dd320b1627d9c2f4fc0a7096
parent8a340bcc051f92a50b414b89676de6db37af302a
datetime: Return G_MAXFLOAT instead of G_MAXDOUBLE for no timezone offset

Returning G_MAXDOUBLE from a function returning a float is not going to
work well and MSVC also correctly warns about this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4285>
subprojects/gstreamer/gst/gstdatetime.c