summaryrefslogtreecommitdiffstats
path: root/gst/videofilter
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2006-04-09 17:31:37 +0000
committerSébastien Moutte <sebastien@moutte.net>2006-04-09 17:31:37 +0000
commita48bb4f8f2d1b417074c2005b09b8421fb3e3534 (patch)
tree853bdf5494b732b8975a784717e2cd752b2dd612 /gst/videofilter
parentf66a4fbe55c65cdcee436403dfed3831c46ba4a4 (diff)
gst/level/gstlevel.c: use G_GINT64_CONSTANT for INT64 constants
Original commit message from CVS: * gst/level/gstlevel.c: (gst_level_set_caps),(gst_level_transform_ip): use G_GINT64_CONSTANT for INT64 constants * gst/videofilter/gstvideobalance.c: define rint for WIN32 #define rint(x) (floor((x)+0.5)) * win32/vs6/libgstavi.dsp: add missing libraries for the link and remove avimux.c from the project as it isn't ported to 0.10 yet
Diffstat (limited to 'gst/videofilter')
-rw-r--r--gst/videofilter/gstvideobalance.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c
index cd8ba432..b7972bf3 100644
--- a/gst/videofilter/gstvideobalance.c
+++ b/gst/videofilter/gstvideobalance.c
@@ -60,6 +60,10 @@
#define M_PI 3.14159265358979323846
#endif
+#ifdef WIN32
+#define rint(x) (floor((x)+0.5))
+#endif
+
static GstElementDetails video_balance_details =
GST_ELEMENT_DETAILS ("Video balance",
"Filter/Effect/Video",