[vlc-devel] commit: vout: vout_EnableFilter takes a const char *. (Pierre d'Herbemont )
git version control
git at videolan.org
Mon Jun 29 06:17:38 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Sun Jun 28 21:13:29 2009 -0700| [d861c71d540e8cc6a7f54fcc1331442d022b4565] | committer: Pierre d'Herbemont
vout: vout_EnableFilter takes a const char *.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d861c71d540e8cc6a7f54fcc1331442d022b4565
---
include/vlc_vout.h | 2 +-
src/video_output/vout_intf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_vout.h b/include/vlc_vout.h
index 0d64ccb..10df3f6 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 c9b1235..62368b7 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;
More information about the vlc-devel
mailing list