Index: gst/audiorate/gstaudiorate.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/audiorate/gstaudiorate.c,v
retrieving revision 1.25
diff -u -r1.25 gstaudiorate.c
--- gst/audiorate/gstaudiorate.c	16 Nov 2006 12:55:08 -0000	1.25
+++ gst/audiorate/gstaudiorate.c	30 Nov 2006 21:41:00 -0000
@@ -477,6 +477,7 @@
   guint64 in_offset, in_offset_end, in_samples;
   guint in_size;
   GstFlowReturn ret = GST_FLOW_OK;
+  static guint64 nextts = 0;
 
   audiorate = GST_AUDIO_RATE (gst_pad_get_parent (pad));
 
@@ -509,8 +510,6 @@
 
   audiorate->in++;
 
-  static guint64 nextts = 0;
-
 #define LLABS(a) ((gint64)(a) < 0 ? -(a):(a))
   if (nextts != GST_BUFFER_TIMESTAMP (buf) && LLABS (GST_BUFFER_TIMESTAMP (buf) - nextts) > 21000)      /* 21 us,  ~1 sample */
     GST_DEBUG_OBJECT (audiorate, "Expected %lld, got %lld! --> %lld", nextts,
Index: gst/videoscale/vs_4tap.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/videoscale/vs_4tap.c,v
retrieving revision 1.1
diff -u -r1.1 vs_4tap.c
--- gst/videoscale/vs_4tap.c	14 Nov 2006 23:08:38 -0000	1.1
+++ gst/videoscale/vs_4tap.c	30 Nov 2006 21:46:28 -0000
@@ -37,6 +37,14 @@
 #define MIN(a,b) (((a) < (b)) ? (a) : (b))
 #define CLAMP(x,a,b) MAX(MIN((x),(b)),(a))
 
+#ifndef M_PI
+#define M_PI  3.14159265358979323846
+#endif
+
+#ifdef WIN32
+#define rint(x) (floor((x)+0.5))  
+#endif 
+
 int16_t vs_4tap_taps[256][4];
 
 double
Index: win32/vs8/libgstvideoscale.vcproj
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/win32/vs8/libgstvideoscale.vcproj,v
retrieving revision 1.2
diff -u -r1.2 libgstvideoscale.vcproj
--- win32/vs8/libgstvideoscale.vcproj	2 Nov 2006 14:18:45 -0000	1.2
+++ win32/vs8/libgstvideoscale.vcproj	30 Nov 2006 21:41:56 -0000
@@ -188,6 +188,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\..\gst\videoscale\vs_4tap.c"
+				>
+			</File>
+			<File
 				RelativePath="..\..\gst\videoscale\vs_image.c"
 				>
 			</File>
