From: Gildas Bazin Date: Fri, 17 Sep 2004 10:21:00 +0000 (+0000) Subject: * modules/video_filter/logo.c: small fix. X-Git-Tag: 0.8.0~393 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=27ea01fb82cb481a08ddb70837de5472df997c92;p=vlc * modules/video_filter/logo.c: small fix. --- diff --git a/modules/video_filter/logo.c b/modules/video_filter/logo.c index 356b2eb548..7c59d9fb1f 100644 --- a/modules/video_filter/logo.c +++ b/modules/video_filter/logo.c @@ -545,10 +545,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) subpicture_region_t *p_region; video_format_t fmt; - if( p_sys->i_last_date && p_sys->i_last_date + 5000000 > date ) - { - return 0; - } + if( p_sys->i_last_date && p_sys->i_last_date + 5000000 > date ) return 0; /* Allocate the subpicture internal data. */ p_spu = p_filter->pf_sub_buffer_new( p_filter ); @@ -576,7 +573,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) p_spu->i_y = p_sys->posy; p_spu->p_region = p_region; - p_spu->i_start = date; + p_spu->i_start = p_sys->i_last_date = date; p_spu->i_stop = 0; p_spu->b_ephemer = VLC_TRUE;