Commit 035f9974 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

codec: spdif: pass i_profile

(cherry picked from commit 52b49c26)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e07420cf
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment