Commit a7588a7e authored by Antoine Cellerier's avatar Antoine Cellerier

Fix zoom gauge in magnify.

parent d9330ddd
...@@ -455,7 +455,7 @@ o o X o o o X X X X X o o X X X X o o o X X X X X o o X X X o o o X X X o o X o ...@@ -455,7 +455,7 @@ o o X o o o X X X X X o o X X X X o o o X X X X X o o X X X o o o X X X o o X o
{ {
int width = v_h + 90 - y; int width = v_h + 90 - y;
width = (width*width)/160; width = (width*width)/160;
if( (80 - y + v_h)*10 < o_zoom ) if( (80 - y + v_h)*ZOOM_FACTOR/10 < o_zoom )
{ {
vlc_memset( p_oyp->p_pixels + y*p_oyp->i_pitch, 0xff, width ); vlc_memset( p_oyp->p_pixels + y*p_oyp->i_pitch, 0xff, width );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment