[vlc-commits] transcode: set decoder output if we notice audio change

Ilkka Ollakka git at videolan.org
Fri Nov 1 16:13:40 CET 2019


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Nov  1 13:53:11 2019 +0200| [75144e93349f41ca48c39ee67254868c467cdf78] | committer: Ilkka Ollakka

transcode: set decoder output if we notice audio change

Otherwise we seem to end up in infinite loop of checking reconfiguration, but
never actually manage to reconfigure.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75144e93349f41ca48c39ee67254868c467cdf78
---

 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 edc683a2e1..98891ee5c8 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -265,6 +265,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
                     aout_FiltersDelete( p_stream, id->p_af_chain );
                     id->p_af_chain = NULL;
                 }
+                id->fmt_input_audio = id->decoder_out.audio;
             }
 
             if( !id->p_af_chain &&



More information about the vlc-commits mailing list