Commit d66ad858 authored by zorglub's avatar zorglub
Browse files

Do not reset preamp value if not needed (Closes:#252)

parent 34534e99
......@@ -359,6 +359,7 @@ static int EqzInit( aout_filter_t *p_filter, int i_rate )
strstr( p_sys->psz_newbands, val2.psz_string ) ) || !*val2.psz_string )
{
var_SetString( p_aout, "equalizer-bands", p_sys->psz_newbands );
if( p_sys->f_newpreamp == p_sys->f_gamp )
var_SetFloat( p_aout, "equalizer-preamp", p_sys->f_newpreamp );
}
......
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