[vlc-devel] [PATCH] transcode: encoder: fix audio fmt initialization

Rémi Denis-Courmont remi at remlab.net
Tue Feb 23 09:54:21 UTC 2021


Lgtm

Le 23 février 2021 02:00:19 GMT+02:00, Tristan Matthews <tmatth at videolan.org> a écrit :
>Sorry for the noise, it turns out the problem was even earlier.
>
>Fixes #25477
>---
> modules/stream_out/transcode/encoder/audio.c | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/modules/stream_out/transcode/encoder/audio.c
>b/modules/stream_out/transcode/encoder/audio.c
>index 2aa0c78859..841291b4bf 100644
>--- a/modules/stream_out/transcode/encoder/audio.c
>+++ b/modules/stream_out/transcode/encoder/audio.c
>@@ -186,6 +186,8 @@ int transcode_encoder_audio_test( encoder_t
>*p_encoder,
> 
>     p_encoder->fmt_in.audio.i_format = p_encoder->fmt_in.i_codec;
> 
>+    aout_FormatPrepare(&p_encoder->fmt_in.audio);
>+
>     /* copy our requested format */
>     es_format_Copy( p_enc_wanted_in, &p_encoder->fmt_in );
> 
>-- 
>2.25.1
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20210223/7df60e31/attachment.html>


More information about the vlc-devel mailing list