From: Laurent Aimar Date: Tue, 28 Jul 2009 20:03:29 +0000 (+0200) Subject: emoved unused pf_render function in subpicture_t. X-Git-Tag: 1.1.0-ff~4751 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=54daead2d00712e143253420fea59d864b9e8f52;p=vlc emoved unused pf_render function in subpicture_t. --- diff --git a/include/vlc_subpicture.h b/include/vlc_subpicture.h index dcd15cbc83..dea241d267 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 353ec359ba..a7976fe119 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;