[vlc-commits] Revert "Fix scope alignment"
Jean-Baptiste Kempf
git at videolan.org
Fri Aug 2 17:48:17 CEST 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 2 17:36:28 2013 +0200| [965e16f80bcfe55005fc0114081d9f74503d491c] | committer: Jean-Baptiste Kempf
Revert "Fix scope alignment"
This reverts commit e61ba5a72f46d5f67b361bd5f617f661f64e5fb7.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=965e16f80bcfe55005fc0114081d9f74503d491c
---
modules/visualization/visual/effects.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/visualization/visual/effects.c b/modules/visualization/visual/effects.c
index d1b8932..a05547c 100644
--- a/modules/visualization/visual/effects.c
+++ b/modules/visualization/visual/effects.c
@@ -867,7 +867,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
uint8_t i_value;
/* Left channel */
- i_value = (1.0+p_sample[p_effect->i_idx_left]) * 127;
+ i_value = p_sample[p_effect->i_idx_left] * 127;
*(ppp_area[0][0]
+ p_picture->p[0].i_pitch * i_index / p_effect->i_width
+ p_picture->p[0].i_lines * i_value / 512
@@ -879,7 +879,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
/* Right channel */
- i_value = (1.0+p_sample[p_effect->i_idx_right]) * 127;
+ i_value = p_sample[p_effect->i_idx_right] * 127;
*(ppp_area[1][0]
+ p_picture->p[0].i_pitch * i_index / p_effect->i_width
+ p_picture->p[0].i_lines * i_value / 512
More information about the vlc-commits
mailing list