[vlc-devel] commit: puzzle: draw the blackslot when needed (typo). ( Rémi Duraffort )

git version control git at videolan.org
Tue Oct 20 19:10:59 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Oct 20 14:29:50 2009 +0200| [7342c3ffc98d1ea32b81c106bd0cc5ece3d22dcc] | committer: Rémi Duraffort 

puzzle: draw the blackslot when needed (typo).

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

 modules/video_filter/puzzle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/puzzle.c b/modules/video_filter/puzzle.c
index 5ad755d..e92dcc6 100644
--- a/modules/video_filter/puzzle.c
+++ b/modules/video_filter/puzzle.c
@@ -223,7 +223,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
             i_row *= p_in->i_lines / i_rows;
             i_last_row *= p_in->i_lines / i_rows;
 
-            if( p_sys->b_blackslot && p_sys->b_finished && i == p_sys->i_selected )
+            if( p_sys->b_blackslot && !p_sys->b_finished && i == p_sys->i_selected )
             {
                 uint8_t color = ( i_plane == Y_PLANE ? 0x0 : 0x80 );
                 for( ; i_row < i_last_row; i_row++, i_orow++ )




More information about the vlc-devel mailing list