Commit a3710f1e authored by Michael Niedermayer's avatar Michael Niedermayer

aacdec: print debug note when unexpected SCE/CPE is encountered

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3230590c
...@@ -477,6 +477,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id) ...@@ -477,6 +477,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
int layout_map_tags; int layout_map_tags;
push_output_configuration(ac); push_output_configuration(ac);
av_log(ac->avctx, AV_LOG_DEBUG, "mono with CPE\n");
if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags, if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags,
2) < 0) 2) < 0)
return NULL; return NULL;
...@@ -492,6 +494,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id) ...@@ -492,6 +494,8 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
int layout_map_tags; int layout_map_tags;
push_output_configuration(ac); push_output_configuration(ac);
av_log(ac->avctx, AV_LOG_DEBUG, "stereo with SCE\n");
if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags, if (set_default_channel_config(ac->avctx, layout_map, &layout_map_tags,
1) < 0) 1) < 0)
return NULL; return NULL;
......
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