[SCM] x42-plugins/master: Added patch to to fix ebur128. (Closes: #794356)
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Tue Sep 8 13:27:26 UTC 2015
The following commit has been merged in the master branch:
commit f1672e757b08283eea02a51a4efa2ebf484e526d
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Tue Sep 8 14:48:27 2015 +0200
Added patch to to fix ebur128. (Closes: #794356)
diff --git a/debian/patches/0001-fix_ebur128.patch b/debian/patches/0001-fix_ebur128.patch
new file mode 100644
index 0000000..ff17188
--- /dev/null
+++ b/debian/patches/0001-fix_ebur128.patch
@@ -0,0 +1,28 @@
+Index: x42-plugins/meters.lv2/gui/ebur.c
+===================================================================
+--- x42-plugins.orig/meters.lv2/gui/ebur.c
++++ x42-plugins/meters.lv2/gui/ebur.c
+@@ -699,7 +699,6 @@ static void render_radar (EBUrUI* ui) {
+ int a1 = ui->radar_pos_max;
+
+ if (ui->fastradar >= 0) {
+- assert (ui->radar_pos_cur == ui->fastradar);
+ a0 = (ui->fastradar - 3 + ui->radar_pos_max) % ui->radar_pos_max;
+ a1 = a0 + 10;
+
+@@ -1402,6 +1401,7 @@ instantiate(
+ EBUrUI* ui = (EBUrUI*)calloc(1,sizeof(EBUrUI));
+ ui->write = write_function;
+ ui->controller = controller;
++ ui->fastradar = -1;
+
+ *widget = NULL;
+
+@@ -1826,6 +1826,7 @@ port_event(LV2UI_Handle handle,
+ ui->disable_signals = false;
+ } else if (k == CTL_LV2_RESETRADAR) {
+ ui->radar_pos_cur = 0;
++ ui->fastradar = -1;
+ ui->tp = 0;
+ for (int i=0; i < ui->radar_pos_max; ++i) {
+ ui->radarS[i] = -INFINITY;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2dfc5b6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-fix_ebur128.patch
+0002-fix_assertion.patch
--
x42-plugins packaging
More information about the pkg-multimedia-commits
mailing list