Commit b9341d88 authored by Patrick Ho's avatar Patrick Ho Committed by Jean-Baptiste Kempf

Fixed vlm show to display next launch for schedules with endless repeats

Currently vlm show does not show the next launch of endlessly repeated schedules after the first launch
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e41757af
......@@ -1491,7 +1491,7 @@ static vlm_message_t *vlm_Show( vlm_t *vlm, vlm_media_sys_t *media,
{
int j = 0;
while( s->i_date + j * s->i_period <= i_time &&
s->i_repeat > j )
( s->i_repeat > j || s->i_repeat == -1 ) )
{
j++;
}
......
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