[vlc-commits] codec: spdif: pass i_profile

Thomas Guillem git at videolan.org
Wed Dec 20 19:14:19 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Dec 20 14:07:51 2017 +0100| [52b49c2603f494a9486394d825edbd09ce46606c] | committer: Thomas Guillem

codec: spdif: pass i_profile

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

 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