Commit eb24fa76 authored by Laurent Aimar's avatar Laurent Aimar

Removed unused variable (logo).

parent e059c65c
...@@ -651,7 +651,6 @@ struct filter_sys_t ...@@ -651,7 +651,6 @@ struct filter_sys_t
int pos, posx, posy; int pos, posx, posy;
bool b_absolute; bool b_absolute;
mtime_t i_last_date;
/* On the fly control variable */ /* On the fly control variable */
bool b_need_update; bool b_need_update;
...@@ -718,8 +717,6 @@ static int CreateFilter( vlc_object_t *p_this ) ...@@ -718,8 +717,6 @@ static int CreateFilter( vlc_object_t *p_this )
p_filter->pf_sub_filter = Filter; p_filter->pf_sub_filter = Filter;
p_sys->b_need_update = true; p_sys->b_need_update = true;
p_sys->i_last_date = 0;
return VLC_SUCCESS; return VLC_SUCCESS;
} }
...@@ -772,7 +769,6 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) ...@@ -772,7 +769,6 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
vlc_mutex_unlock( &p_logo_list->lock ); vlc_mutex_unlock( &p_logo_list->lock );
return 0; return 0;
} }
/* prior code tested on && p_sys->i_last_date +5000000 > date ) return 0; */
/* adjust index to the next logo */ /* adjust index to the next logo */
p_logo_list->i_counter = p_logo_list->i_counter =
...@@ -790,7 +786,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) ...@@ -790,7 +786,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
} }
p_spu->b_absolute = p_sys->b_absolute; p_spu->b_absolute = p_sys->b_absolute;
p_spu->i_start = p_sys->i_last_date = date; p_spu->i_start = date;
p_spu->i_stop = 0; p_spu->i_stop = 0;
p_spu->b_ephemer = true; p_spu->b_ephemer = true;
......
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