[vlc-commits] Logo: fix logo-repeat param
Jean-Baptiste Kempf
git at videolan.org
Mon Mar 26 18:44:51 CEST 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 23 14:01:39 2012 +0100| [8ccfa41dac63f4cd59218cba4e2224318ff9d61f] | committer: Jean-Baptiste Kempf
Logo: fix logo-repeat param
Should close #6397
(cherry picked from commit a4e18517009d3aad9e0f956e68358766267de9c8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=8ccfa41dac63f4cd59218cba4e2224318ff9d61f
---
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