{
char *psz_parser = psz_filters;
char *psz_next;
+
+ if( strchr( psz_filters, ',' ) && !strchr( psz_filters, ':' ) )
+ {
+ msg_Info( p_aout, "Warning: you are using a deprecated syntax for "
+ "audio-filter / audio-visual." );
+ msg_Info( p_aout, "You must now use ':' as separator instead of "
+ "','." );
+ }
while( psz_parser && *psz_parser )
{
aout_filter_t * p_filter;
break;
}
- while( *psz_parser == ' ' && *psz_parser == ':' )
+ while( *psz_parser == ' ' || *psz_parser == ':' ||
+ *psz_parser == ',')
{
psz_parser++;
}
{
*psz_next++ = '\0';
}
+ else if( ( psz_next = strchr( psz_parser , ',' ) ) )
+ {
+ *psz_next++ = '\0';
+ }
if( *psz_parser =='\0' )
{
break;
}
psz_parser = psz_modules;
+ if( psz_parser && *psz_parser &&
+ strstr( psz_parser, ",") && !strstr(psz_parser, ":" ) )
+ {
+ msg_Info( p_vlc, "Warning: you are using a deprecated syntax for "
+ "extraintf / control." );
+ msg_Info( p_vlc, "You must now use ':' as separator instead of ','." );
+ }
while ( psz_parser && *psz_parser )
{
char *psz_module, *psz_temp;
psz_module = psz_parser;
psz_parser = strchr( psz_module, ':' );
+ if( !psz_parser ) psz_parser = strchr( psz_module, ',' );
if ( psz_parser )
{
*psz_parser = '\0';
{
char *psz_parser = psz_modules;
char *psz_next;
-
+ if( psz_parser && *psz_parser &&
+ strstr( psz_parser, ",") && !strstr(psz_parser, ":" ) )
+ {
+ msg_Info( p_playlist, "Warning: you are using a deprecated syntax "
+ "for services-discovery." );
+ msg_Info( p_playlist, "You must now use ':' as separator instead "
+ "of ','." );
+ }
while( psz_parser && *psz_parser )
{
- while( *psz_parser == ' ' || *psz_parser == ':' )
+ while( *psz_parser == ' ' || *psz_parser == ':' ||
+ *psz_parser == ',' )
{
psz_parser++;
}
{
*psz_next++ = '\0';
}
+ else if( ( psz_next = strchr( psz_parser, ',' ) ) )
+ {
+ *psz_next++ = '\0';
+ }
if( *psz_parser == '\0' )
{
break;
var_Create( p_vout, "vout-filter", VLC_VAR_STRING | VLC_VAR_DOINHERIT );
var_Get( p_vout, "vout-filter", &val );
p_vout->psz_filter_chain = val.psz_string;
+
+ if( p_vout->psz_filter_chain && *p_vout->psz_filter_chain &&
+ strchr( p_vout->psz_filter_chain, ',' ) &&
+ !strchr( p_vout->psz_filter_chain, ':') )
+ {
+ msg_Info( p_vout, "Warning: you are using a deprecated syntax for "
+ "vout-filter." );
+ msg_Info( p_vout, "You must now use ':' as separator instead of "
+ "','." );
+ }
}
else
{
char *psz_end;
psz_end = strchr( ((vout_thread_t *)p_parent)->psz_filter_chain, ':' );
+ if( !psz_end ) psz_end = strchr(
+ ((vout_thread_t *)p_parent)->psz_filter_chain, ',' );
if( psz_end && *(psz_end+1) )
p_vout->psz_filter_chain = strdup( psz_end+1 );
else p_vout->psz_filter_chain = NULL;
char *psz_end;
psz_end = strchr( p_vout->psz_filter_chain, ':' );
+ if( !psz_end ) psz_end = strchr( p_vout->psz_filter_chain, ',' );
if( psz_end )
psz_plugin = strndup( p_vout->psz_filter_chain,
psz_end - p_vout->psz_filter_chain );