summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-10-14 02:47:24 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-10-14 02:47:24 +0000
commitb1e7f1917d4160988d0332d6a0ebe3b48524ef94 (patch)
treee6893fed6e32911cdbb1b2fde5cdabd3c35c2d86 /multimedia
parentFix build on 5.x. (diff)
Fix build on -stable.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-gst_level_filter.func14
-rw-r--r--multimedia/gstreamer-plugins80/files/patch-gst_level_filter.func14
2 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-gst_level_filter.func b/multimedia/gstreamer-plugins/files/patch-gst_level_filter.func
new file mode 100644
index 000000000000..3b154eb4bdc1
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-gst_level_filter.func
@@ -0,0 +1,14 @@
+--- gst/level/filter.func.orig Mon Oct 13 22:32:12 2003
++++ gst/level/filter.func Mon Oct 13 22:32:21 2003
+@@ -10,9 +10,9 @@
+ register double square = 0.0; /* Square */
+ register double PSS = 0.0; /* Peak Square Sample */
+
+- *CS = 0.0; /* Cumulative Square for this block */
+-
+ gdouble normalizer = (double) (1 << resolution);
++
++ *CS = 0.0; /* Cumulative Square for this block */
+
+ /*
+ * process data here
diff --git a/multimedia/gstreamer-plugins80/files/patch-gst_level_filter.func b/multimedia/gstreamer-plugins80/files/patch-gst_level_filter.func
new file mode 100644
index 000000000000..3b154eb4bdc1
--- /dev/null
+++ b/multimedia/gstreamer-plugins80/files/patch-gst_level_filter.func
@@ -0,0 +1,14 @@
+--- gst/level/filter.func.orig Mon Oct 13 22:32:12 2003
++++ gst/level/filter.func Mon Oct 13 22:32:21 2003
+@@ -10,9 +10,9 @@
+ register double square = 0.0; /* Square */
+ register double PSS = 0.0; /* Peak Square Sample */
+
+- *CS = 0.0; /* Cumulative Square for this block */
+-
+ gdouble normalizer = (double) (1 << resolution);
++
++ *CS = 0.0; /* Cumulative Square for this block */
+
+ /*
+ * process data here