From a48bb4f8f2d1b417074c2005b09b8421fb3e3534 Mon Sep 17 00:00:00 2001 From: Sébastien Moutte Date: Sun, 9 Apr 2006 17:31:37 +0000 Subject: 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 --- gst/videofilter/gstvideobalance.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/videofilter') 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", -- cgit