[vlc-devel] [PATCH 4/9] codec: spdif: pass i_profile

Thomas Guillem thomas at gllm.fr
Wed Dec 20 14:12:40 CET 2017


---
 modules/codec/spdif.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/spdif.c b/modules/codec/spdif.c
index f1ebcbdfe6..edb3e899e4 100644
--- a/modules/codec/spdif.c
+++ b/modules/codec/spdif.c
@@ -75,6 +75,7 @@ OpenDecoder(vlc_object_t *p_this)
     /* Set output properties */
     p_dec->fmt_out.i_codec = p_dec->fmt_in.i_codec;
     p_dec->fmt_out.audio = p_dec->fmt_in.audio;
+    p_dec->fmt_out.i_profile = p_dec->fmt_in.i_profile;
     p_dec->fmt_out.audio.i_format = p_dec->fmt_out.i_codec;
 
     if (decoder_UpdateAudioFormat(p_dec))
-- 
2.11.0



More information about the vlc-devel mailing list