summaryrefslogtreecommitdiffstats
path: root/gst/debug
diff options
context:
space:
mode:
Diffstat (limited to 'gst/debug')
-rw-r--r--gst/debug/gstnavigationtest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/debug/gstnavigationtest.c b/gst/debug/gstnavigationtest.c
index c81f8aaa..5c339252 100644
--- a/gst/debug/gstnavigationtest.c
+++ b/gst/debug/gstnavigationtest.c
@@ -28,6 +28,10 @@
#include <gst/video/video.h>
+#ifdef _MSC_VER
+#define rint(x) (floor((x)+0.5))
+#endif
+
GST_DEBUG_CATEGORY_STATIC (navigationtest_debug);
#define GST_CAT_DEFAULT navigationtest_debug