Commit c8075510 authored by Laurent Aimar's avatar Laurent Aimar

Add temporary hack for video splitter filters in vout_EnableFilter.

parent 5577367b
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment