Commit bbcc289b authored by Thomas Guillem's avatar Thomas Guillem

karaoke: prepare format on success

This fixes a i_bytes_per_frame/i_frame_length inconsistency when chaining more
than one audio filters.
parent 7b878bb9
......@@ -52,6 +52,7 @@ static int Open (vlc_object_t *obj)
}
filter->fmt_in.audio.i_format = VLC_CODEC_FL32;
aout_FormatPrepare(&filter->fmt_in.audio);
filter->fmt_out.audio = filter->fmt_in.audio;
filter->pf_audio_filter = Process;
return VLC_SUCCESS;
......
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