utils: use g_get_monotonic_time() as fallback in gst_utils_get_timestamp()
authorTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 18:44:50 +0000 (18:44 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 18:44:50 +0000 (18:44 +0000)
commitd7a9b08268f05b6a4f195f8ebce2d58e952ca8d8
tree5cf848ed5f1fd6b0a609385b8cae470135014660
parentdb0c54c5c8299f751a6f1ac249ed792a50748c51
utils: use g_get_monotonic_time() as fallback in gst_utils_get_timestamp()

This is a better fit given that the function docs say this
should (only) be used for interval measurements, but also
this seems to give much better granularity on Windows
systems, where before this change there would often be
10-20 lines of debug log with the same timestamp up front.
gst/gstutils.c