From 54daead2d00712e143253420fea59d864b9e8f52 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Tue, 28 Jul 2009 22:03:29 +0200 Subject: [PATCH] emoved unused pf_render function in subpicture_t. --- include/vlc_subpicture.h | 2 -- src/video_output/vout_subpictures.c | 1 - 2 files changed, 3 deletions(-) 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; -- 2.39.2