[vlc-devel] commit: Removed unused variable (logo). (Laurent Aimar )

git version control git at videolan.org
Fri Jun 5 20:24:28 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Jun  4 23:56:03 2009 +0200| [eb24fa7656571f14d791aee5bc434aee3f049162] | committer: Laurent Aimar 

Removed unused variable (logo).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb24fa7656571f14d791aee5bc434aee3f049162
---

 modules/video_filter/logo.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

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




More information about the vlc-devel mailing list