[vlc-commits] puzzle: row and col values of 1 are not supported
David Fuhrmann
git at videolan.org
Thu Dec 27 21:31:44 CET 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Dec 27 20:52:05 2012 +0100| [05f9c0acdbf2832d507724d644d32aa06c47cf65] | committer: David Fuhrmann
puzzle: row and col values of 1 are not supported
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=05f9c0acdbf2832d507724d644d32aa06c47cf65
---
modules/video_filter/puzzle.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_filter/puzzle.c b/modules/video_filter/puzzle.c
index a41de17..713d1f2 100644
--- a/modules/video_filter/puzzle.c
+++ b/modules/video_filter/puzzle.c
@@ -355,9 +355,9 @@ static int PuzzleCallback( vlc_object_t *p_this, char const *psz_var,
filter_sys_t *p_sys = p_data;
if( !strcmp( psz_var, CFG_PREFIX "rows" ) )
- atomic_store( &p_sys->change.i_rows, __MAX( 1, newval.i_int ) );
+ atomic_store( &p_sys->change.i_rows, __MAX( 2, newval.i_int ) );
else if( !strcmp( psz_var, CFG_PREFIX "cols" ) )
- atomic_store( &p_sys->change.i_cols, __MAX( 1, newval.i_int ) );
+ atomic_store( &p_sys->change.i_cols, __MAX( 2, newval.i_int ) );
else if( !strcmp( psz_var, CFG_PREFIX "black-slot" ) )
atomic_store( &p_sys->change.b_blackslot, newval.b_bool );
atomic_flag_clear( &p_sys->change.b_uptodate );
More information about the vlc-commits
mailing list