Skip to content

[3.0] coreaudio: add missing aout_FormatPrepare()

Thomas Guillem requested to merge tguillem/vlc:3.0-coreaudio-prepare into 3.0.x

It was missing after the format was being set to FL32, causing i_bytes_per_frame mismatch when the input format size was different than 4.

It is already done in MapOutputLayout() since this function change the number of channels but it was not done for the MapInputLayout() case.

Regression from ea9c3017

Fixes #28117 (closed)

(cherry picked from commit c2b716c3) Signed-off-by: Thomas Guillem thomas@gllm.fr

Merge request reports