[vlc-devel] commit: emoved unused pf_render function in subpicture_t. (Laurent Aimar )

git version control git at videolan.org
Tue Jul 28 22:53:45 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jul 28 22:03:29 2009 +0200| [54daead2d00712e143253420fea59d864b9e8f52] | committer: Laurent Aimar 

emoved unused pf_render function in subpicture_t.

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

 include/vlc_subpicture.h            |    2 --
 src/video_output/vout_subpictures.c |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/vlc_subpicture.h b/include/vlc_subpicture.h
index dcd15cb..dea241d 100644
--- a/include/vlc_subpicture.h
+++ b/include/vlc_subpicture.h
@@ -147,8 +147,6 @@ struct subpicture_t
     int          i_alpha;                                  /**< transparency */
      /**@}*/
 
-    /** Pointer to function that renders this subtitle in a picture */
-    void ( *pf_render )  ( vout_thread_t *, picture_t *, const subpicture_t * );
     /** Pointer to function that cleans up the private data of this subtitle */
     void ( *pf_destroy ) ( subpicture_t * );
 
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 353ec35..a7976fe 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -713,7 +713,6 @@ subpicture_t *subpicture_New( void )
     p_subpic->b_subtitle = false;
     p_subpic->i_alpha    = 0xFF;
     p_subpic->p_region   = NULL;
-    p_subpic->pf_render  = NULL;
     p_subpic->pf_destroy = NULL;
     p_subpic->p_sys      = NULL;
 




More information about the vlc-devel mailing list