vlc_module_begin();
set_description( _("Goom effect") );
- set_capability( "audio filter", 0 );
+ set_category( CAT_AUDIO );
+ set_subcategory( SUBCAT_AUDIO_VISUAL );
+ set_capability( "visualization", 0 );
add_integer( "goom-width", 320, NULL,
WIDTH_TEXT, RES_LONGTEXT, VLC_FALSE );
add_integer( "goom-height", 240, NULL,
/*****************************************************************************
* Local prototypes
*****************************************************************************/
-#define MAX_BLOCKS 10
+#define MAX_BLOCKS 100
#define GOOM_DELAY 400000
typedef struct
if( p_input )
{
- char *psz = strrchr( p_input->psz_source, '/' );
+ char *psz = strrchr( p_input->input.p_item->psz_uri, '/' );
if( psz )
{
}
else
{
- psz = p_input->psz_source;
+ psz = p_input->input.p_item->psz_uri;
}
if( psz && *psz )
{