diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index edc683a2e1c8ef449c614d4540fac9a0c52b7f6f..98891ee5c8cec1a662196f28ec1c15481ff4c607 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 &&