Commit 245f29a5 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

decoder: check i_profile similarity for audio

Maybe es_format_IsSimilar should be used.

(cherry picked from commit e0f8be41)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 202e9671
......@@ -313,7 +313,8 @@ static int aout_update_format( decoder_t *p_dec )
if( p_owner->p_aout &&
( !AOUT_FMTS_IDENTICAL(&p_dec->fmt_out.audio, &p_owner->fmt.audio) ||
p_dec->fmt_out.i_codec != p_dec->fmt_out.audio.i_format ) )
p_dec->fmt_out.i_codec != p_dec->fmt_out.audio.i_format ||
p_dec->fmt_out.i_profile != p_owner->fmt.i_profile ) )
{
audio_output_t *p_aout = p_owner->p_aout;
......
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