X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout.h;h=fb5f6245a4234ad54185219cfd42424cf4937a86;hb=790f188af5f0855128521eaba799a38881be2404;hp=4a706fcfd4172f5ea8183317685c033a76b228fe;hpb=9d5e75a7a5643a2144dc561fc246a7a3ca7e5fb0;p=vlc diff --git a/include/vlc_vout.h b/include/vlc_vout.h index 4a706fcfd4..fb5f6245a4 100644 --- a/include/vlc_vout.h +++ b/include/vlc_vout.h @@ -67,9 +67,6 @@ struct picture_heap_t void (* pf_setpalette) ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t * ); }; -/* Default subpicture channel ID */ -#define DEFAULT_CHAN 1 - /***************************************************************************** * Prototypes *****************************************************************************/ @@ -310,8 +307,17 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t * VLC_EXPORT( void, vout_UnlinkPicture, ( vout_thread_t *, picture_t * ) ); VLC_EXPORT( void, vout_PlacePicture, ( const vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int * ) ); +/** + * Return the spu_t object associated to a vout_thread_t. + * + * The return object is valid only as long as the vout is. You must not + * release the spu_t object returned. + * It cannot return NULL so no need to check. + */ +VLC_EXPORT( spu_t *, vout_GetSpu, ( vout_thread_t * ) ); + void vout_IntfInit( vout_thread_t * ); -VLC_EXPORT( void, vout_EnableFilter, ( vout_thread_t *, char *,bool , bool ) ); +VLC_EXPORT( void, vout_EnableFilter, ( vout_thread_t *, const char *,bool , bool ) ); static inline int vout_vaControl( vout_thread_t *p_vout, int i_query,