X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_spu.h;h=f02dca0b41c23dbe40d8976c8d368e55f6047ff4;hb=e51b8dc6d988ab0274936a552e5e4539823683d1;hp=dfffd86f224d279314a3fda2d6f233fd89a5d495;hpb=28ed0fc96153391a47fa4b480f716f0de1fbacae;p=vlc diff --git a/include/vlc_spu.h b/include/vlc_spu.h index dfffd86f22..f02dca0b41 100644 --- a/include/vlc_spu.h +++ b/include/vlc_spu.h @@ -52,6 +52,10 @@ struct spu_t uint8_t pi_alpha[4]; /**< forced alpha palette */ int ( *pf_control ) ( spu_t *, int, va_list ); + + /* Supciture filters */ + filter_t *pp_filter[10]; + int i_filter; }; static inline int spu_vaControl( spu_t *p_spu, int i_query, va_list args ) @@ -83,8 +87,9 @@ enum spu_query_e * \addtogroup subpicture * @{ */ -#define spu_Init(a) __spu_Init(VLC_OBJECT(a)) -VLC_EXPORT( spu_t *, __spu_Init, ( vlc_object_t * ) ); +#define spu_Create(a) __spu_Create(VLC_OBJECT(a)) +VLC_EXPORT( spu_t *, __spu_Create, ( vlc_object_t * ) ); +VLC_EXPORT( int, spu_Init, ( spu_t * ) ); VLC_EXPORT( void, spu_Destroy, ( spu_t * ) ); void spu_Attach( spu_t *, vlc_object_t *, vlc_bool_t );