[vlc-commits] magnify: fix ctrl toggle text on differing visible pitch

Lyndon Brown git at videolan.org
Wed Mar 20 15:34:45 CET 2019


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sun Mar 17 17:45:27 2019 +0000| [b5fae0692cb0de2968caa549a052e94a343cf792] | committer: Thomas Guillem

magnify: fix ctrl toggle text on differing visible pitch

where visible_pitch != pitch, the "VLC ZOOM HIDE/SHOW" text was printed
across the video in an unidentifiable smear of white pixels

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5fae0692cb0de2968caa549a052e94a343cf792
---

 modules/video_filter/magnify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/magnify.c b/modules/video_filter/magnify.c
index 7e3c6f88a6..9fde3f5f1f 100644
--- a/modules/video_filter/magnify.c
+++ b/modules/video_filter/magnify.c
@@ -245,7 +245,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     /* print a small "VLC ZOOM" */
 
     if( b_visible || p_sys->i_last_activity + p_sys->i_hide_timeout > vlc_tick_now() )
-        DrawZoomStatus( p_oyp->p_pixels, p_oyp->i_visible_pitch, p_oyp->i_pitch, p_oyp->i_lines,
+        DrawZoomStatus( p_oyp->p_pixels, p_oyp->i_pitch, p_oyp->i_visible_pitch, p_oyp->i_lines,
                         1, v_h, b_visible );
 
     if( b_visible )



More information about the vlc-commits mailing list