[vlc-devel] [PATCH] sout: transcode for audio output type to BITMAP
Thomas Guillem
thomas at gllm.fr
Wed Sep 30 14:40:16 CEST 2020
Fixes the "output_format.channel_type == AUDIO_CHANNEL_TYPE_BITMAP"
assert in aout_FiltersNewWithClock() and trigger AMBISONICS -> BITMAP
rendering from the sout.
---
modules/stream_out/transcode/audio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index 79a2a1af4eb..73cf3009cc1 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -154,6 +154,7 @@ int transcode_audio_init( sout_stream_t *p_stream, const es_format_t *p_fmt,
FIRSTVALID( id->decoder_out.audio.i_physical_channels,
id->p_decoder->fmt_in.audio.i_physical_channels,
AOUT_CHANS_STEREO );
+ id->decoder_out.audio.channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
aout_FormatPrepare( &id->decoder_out.audio );
/* Should be the same format until encoder loads */
--
2.28.0
More information about the vlc-devel
mailing list