Fix zoom gauge in magnify.
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 10 Jun 2008 14:16:31 +0000 (16:16 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 10 Jun 2008 14:16:31 +0000 (16:16 +0200)
modules/video_filter/magnify.c

index 12eb061..a249928 100644 (file)
@@ -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;
             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 );
             }