[vlc-commits] Logo: fix logo-repeat param
Jean-Baptiste Kempf
git at videolan.org
Fri Mar 23 14:02:42 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 23 14:01:39 2012 +0100| [a4e18517009d3aad9e0f956e68358766267de9c8] | committer: Jean-Baptiste Kempf
Logo: fix logo-repeat param
Should close #6397
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4e18517009d3aad9e0f956e68358766267de9c8
---
modules/video_filter/logo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c
index c7606d4..5e8fa3c 100644
--- a/modules/video_filter/logo.c
+++ b/modules/video_filter/logo.c
@@ -371,7 +371,7 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
if( p_list->i_repeat != -1 && p_list->i_counter == 0 )
{
p_list->i_repeat--;
- if( p_list->i_repeat == 0 )
+ if( p_list->i_repeat < 0 )
goto exit;
}
if( !p_pic || !p_logo->i_alpha ||
More information about the vlc-commits
mailing list