[vlc-devel] commit: Add temporary hack for video splitter filters in vout_EnableFilter. (Laurent Aimar )
git version control
git at videolan.org
Sun Jun 14 21:02:31 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jun 14 20:58:44 2009 +0200| [c80755106f39da2349c4ae47ab5452f513a0be64] | committer: Laurent Aimar
Add temporary hack for video splitter filters in vout_EnableFilter.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c80755106f39da2349c4ae47ab5452f513a0be64
---
src/video_output/vout_intf.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 59472eb..c9b1235 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -808,7 +808,16 @@ void vout_EnableFilter( vout_thread_t *p_vout, char *psz_name,
char *psz_string;
const char *psz_filter_type;
- module_t *p_obj = module_find( psz_name );
+ /* FIXME temporary hack */
+ const char *psz_module_name = psz_name;
+ if( !strcmp( psz_name, "magnify" ) ||
+ !strcmp( psz_name, "puzzle" ) ||
+ !strcmp( psz_name, "logo" ) ||
+ !strcmp( psz_name, "wall" ) ||
+ !strcmp( psz_name, "clone" ) )
+ psz_module_name = "video_filter_wrapper";
+
+ module_t *p_obj = module_find( psz_module_name );
if( !p_obj )
{
msg_Err( p_vout, "Unable to find filter module \"%s\".", psz_name );
More information about the vlc-devel
mailing list