X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_osd.h;h=cccc2aed3ea4b51563e28c9e8bd9c38563467631;hb=42779914fe039a85be152661a4f93e0e7ba7b4d9;hp=a30d0c5e01f89ab4bcd7167bbc19ea57f210fb64;hpb=df61d33b06e2b3cbbe746b2f5a9bea5b370c24ff;p=vlc diff --git a/include/vlc_osd.h b/include/vlc_osd.h index a30d0c5e01..cccc2aed3e 100644 --- a/include/vlc_osd.h +++ b/include/vlc_osd.h @@ -27,10 +27,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#if !defined( __LIBVLC__ ) - #error You are not libvlc or one of its plugins. You cannot include this file -#endif - #ifndef _VLC_OSD_H #define _VLC_OSD_H 1 @@ -77,8 +73,7 @@ struct spu_t int ( *pf_control ) ( spu_t *, int, va_list ); /* Supciture filters */ - filter_t *pp_filter[10]; - int i_filter; + filter_chain_t *p_chain; }; static inline int spu_vaControl( spu_t *p_spu, int i_query, va_list args ) @@ -595,7 +590,7 @@ static inline void osd_SetMenuUpdate( osd_menu_t *p_osd, bool b_value ) */ VLC_EXPORT( int, osd_ShowTextRelative, ( spu_t *, int, char *, text_style_t *, int, int, int, mtime_t ) ); VLC_EXPORT( int, osd_ShowTextAbsolute, ( spu_t *, int, char *, text_style_t *, int, int, int, mtime_t, mtime_t ) ); -VLC_EXPORT( void,osd_Message, ( spu_t *, int, char *, ... ) ATTRIBUTE_FORMAT( 3, 4 ) ); +VLC_EXPORT( void,osd_Message, ( spu_t *, int, char *, ... ) LIBVLC_FORMAT( 3, 4 ) ); /** * Default feedback images @@ -650,7 +645,7 @@ VLC_EXPORT( int, vout_ShowTextAbsolute, ( vout_thread_t *, int, const char *, te * \param i_channel Subpicture channel * \param psz_format printf style formatting **/ -VLC_EXPORT( void, __vout_OSDMessage, ( vlc_object_t *, int, const char *, ... ) ATTRIBUTE_FORMAT( 3, 4 ) ); +VLC_EXPORT( void, __vout_OSDMessage, ( vlc_object_t *, int, const char *, ... ) LIBVLC_FORMAT( 3, 4 ) ); /** * Same as __vlc_OSDMessage() but with automatic casting