Commit e5587029 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

audiofilters: Do not try to insert user audio-filters when our target is...

audiofilters: Do not try to insert user audio-filters when our target is SPDIF. We currently have no way to apply any of our filters to the encoded signal.
parent 958f2849
......@@ -225,7 +225,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input )
psz_scaletempo = var_GetBool( p_aout, "audio-time-stretch" ) ? strdup( "scaletempo" ) : NULL;
/* parse user filter lists */
for( i_visual = 0; i_visual < 3; i_visual++ )
for( i_visual = 0; i_visual < 3 && !AOUT_FMT_NON_LINEAR(&chain_output_format); i_visual++ )
{
char *ppsz_array[] = { psz_scaletempo, psz_filters, psz_visual };
char *psz_next = NULL;
......
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