[vlc-commits] codec: spdif: pass i_profile

Thomas Guillem git at videolan.org
Thu Dec 21 10:53:07 CET 2017


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 20 14:07:51 2017 +0100| [035f99743c211088301a140d4a3bff46ae6ce826] | committer: Jean-Baptiste Kempf

codec: spdif: pass i_profile

(cherry picked from commit 52b49c2603f494a9486394d825edbd09ce46606c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=035f99743c211088301a140d4a3bff46ae6ce826
---

 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))



More information about the vlc-commits mailing list