Commit d96db36f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout: fix assertion when S/PDIF is used

parent 049eadc4
......@@ -398,12 +398,12 @@ int aout_FiltersNew (audio_output_t *aout,
owner->rate_filter = NULL;
owner->resampler = NULL;
if (!AOUT_FMT_LINEAR(outfmt))
return 0;
var_AddCallback (aout, "visual", VisualizationCallback, NULL);
var_AddCallback (aout, "equalizer", EqualizerCallback, NULL);
if (!AOUT_FMT_LINEAR(outfmt))
return 0;
const char *scaletempo =
var_InheritBool (aout, "audio-time-stretch") ? "scaletempo" : NULL;
char *filters = var_InheritString (aout, "audio-filter");
......
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