From 7be98ef1b29a654d7a7c01f9223a174b4a3f241c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 10 Jul 2016 19:36:49 +0200 Subject: audio: add auto-inserted flag to filter list logging Like the video filter chain. --- audio/filter/af.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio') diff --git a/audio/filter/af.c b/audio/filter/af.c index 657340e252..3f79a99647 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -256,6 +256,8 @@ static void af_print_filter_chain(struct af_stream *s, struct af_instance *at, mp_snprintf_cat(b, sizeof(b), "\"%s\" ", af->label); if (af->data) mp_snprintf_cat(b, sizeof(b), "%s", mp_audio_config_to_str(af->data)); + if (af->auto_inserted) + mp_snprintf_cat(b, sizeof(b), " [a]"); if (af == at) mp_snprintf_cat(b, sizeof(b), " <-"); MP_MSG(s, msg_level, "%s\n", b); -- cgit v1.2.3