Commit 5cd2d076 authored by Laurent Aimar's avatar Laurent Aimar

Removed now unused pf_pre_render in subpicture_t.

parent 066cd24e
...@@ -152,8 +152,7 @@ struct subpicture_t ...@@ -152,8 +152,7 @@ struct subpicture_t
/** Pointer to function that cleans up the private data of this subtitle */ /** Pointer to function that cleans up the private data of this subtitle */
void ( *pf_destroy ) ( subpicture_t * ); void ( *pf_destroy ) ( subpicture_t * );
/** Pointer to functions for region management */ /** Pointer to function that update the regions before rendering (optionnal) */
void (*pf_pre_render) ( spu_t *, subpicture_t *, const video_format_t * );
void (*pf_update_regions)( spu_t *, void (*pf_update_regions)( spu_t *,
subpicture_t *, const video_format_t *, mtime_t ); subpicture_t *, const video_format_t *, mtime_t );
......
...@@ -379,10 +379,6 @@ void spu_RenderSubpictures( spu_t *p_spu, ...@@ -379,10 +379,6 @@ void spu_RenderSubpictures( spu_t *p_spu,
p_subpic != NULL; p_subpic != NULL;
p_subpic = p_subpic->p_next ) p_subpic = p_subpic->p_next )
{ {
/* TODO remove pre-render */
if( p_subpic->pf_pre_render )
p_subpic->pf_pre_render( p_spu, p_subpic, p_fmt_dst );
if( p_subpic->pf_update_regions ) if( p_subpic->pf_update_regions )
{ {
video_format_t fmt_org = *p_fmt_dst; video_format_t fmt_org = *p_fmt_dst;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment