[vlc-commits] commit: Removed dead code (spu). (Laurent Aimar )
git at videolan.org
git at videolan.org
Wed May 26 22:43:07 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed May 26 22:41:05 2010 +0200| [4d5258cf604df6e5b6f7469ca8b2c210c9f6cfbb] | committer: Laurent Aimar
Removed dead code (spu).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4d5258cf604df6e5b6f7469ca8b2c210c9f6cfbb
---
src/video_output/vout_subpictures.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 42dd979..1d71ef2 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -174,8 +174,6 @@ struct filter_owner_sys_t
};
static int spu_get_attachments( filter_t *,
input_attachment_t ***, int * );
-static subpicture_t *spu_new_buffer( filter_t * );
-static void spu_del_buffer( filter_t *, subpicture_t * );
static picture_t *spu_new_video_buffer( filter_t * );
static void spu_del_video_buffer( filter_t *, picture_t * );
@@ -1111,8 +1109,6 @@ static void SpuRenderCreateAndLoadText( spu_t *p_spu )
p_text->fmt_out.video.i_height =
p_text->fmt_out.video.i_visible_height = 32;
- p_text->pf_sub_buffer_new = spu_new_buffer;
- p_text->pf_sub_buffer_del = spu_del_buffer;
p_text->pf_get_attachments = spu_get_attachments;
vlc_object_attach( p_text, p_spu );
@@ -1903,18 +1899,6 @@ static void sub_del_buffer( filter_t *p_filter, subpicture_t *p_subpic )
VLC_UNUSED( p_filter );
subpicture_Delete( p_subpic );
}
-
-static subpicture_t *spu_new_buffer( filter_t *p_filter )
-{
- VLC_UNUSED(p_filter);
- return subpicture_New( NULL );
-}
-static void spu_del_buffer( filter_t *p_filter, subpicture_t *p_subpic )
-{
- VLC_UNUSED(p_filter);
- subpicture_Delete( p_subpic );
-}
-
static picture_t *spu_new_video_buffer( filter_t *p_filter )
{
const video_format_t *p_fmt = &p_filter->fmt_out.video;
More information about the vlc-commits
mailing list