Commit 8ccfa41d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Logo: fix logo-repeat param

Should close #6397
(cherry picked from commit a4e18517009d3aad9e0f956e68358766267de9c8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 87b30c3c
......@@ -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 ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment