From: Pierre d'Herbemont Date: Mon, 29 Jun 2009 04:13:29 +0000 (-0700) Subject: vout: vout_EnableFilter takes a const char *. X-Git-Tag: 1.1.0-ff~5195 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d861c71d540e8cc6a7f54fcc1331442d022b4565;p=vlc vout: vout_EnableFilter takes a const char *. --- diff --git a/include/vlc_vout.h b/include/vlc_vout.h index 0d64ccbefb..10df3f62a6 100644 --- a/include/vlc_vout.h +++ b/include/vlc_vout.h @@ -320,7 +320,7 @@ VLC_EXPORT( void, vout_PlacePicture, ( const vout_thread_t *, unsig 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, diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c index c9b1235a59..62368b71ed 100644 --- a/src/video_output/vout_intf.c +++ b/src/video_output/vout_intf.c @@ -801,7 +801,7 @@ exit: * Handle filters *****************************************************************************/ -void vout_EnableFilter( vout_thread_t *p_vout, char *psz_name, +void vout_EnableFilter( vout_thread_t *p_vout, const char *psz_name, bool b_add, bool b_setconfig ) { char *psz_parser;