summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
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