summaryrefslogtreecommitdiff
path: root/gst/videofilter/gstvideobalance.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/videofilter/gstvideobalance.c')
-rw-r--r--gst/videofilter/gstvideobalance.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c
index 136acaea3..968e2596c 100644
--- a/gst/videofilter/gstvideobalance.c
+++ b/gst/videofilter/gstvideobalance.c
@@ -44,17 +44,14 @@
#include "config.h"
#endif
+#include <gst/math-compat.h>
+
#include "gstvideobalance.h"
#include <string.h>
-#include <math.h>
#include <gst/controller/gstcontroller.h>
#include <gst/interfaces/colorbalance.h>
-#ifndef HAVE_RINT
-#define rint(x) (floor((x)+0.5))
-#endif
-
GST_DEBUG_CATEGORY_STATIC (videobalance_debug);
#define GST_CAT_DEFAULT videobalance_debug