summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-10 19:36:49 +0200
committerwm4 <wm4@nowhere>2016-07-10 19:51:09 +0200
commit7be98ef1b29a654d7a7c01f9223a174b4a3f241c (patch)
treea59972ceba780d2b558c1bd35c72e703f3fddecc
parent2eac58eaa97ec667a2512cd27c35f006a22ec074 (diff)
downloadmpv-7be98ef1b29a654d7a7c01f9223a174b4a3f241c.tar.bz2
mpv-7be98ef1b29a654d7a7c01f9223a174b4a3f241c.tar.xz
audio: add auto-inserted flag to filter list logging
Like the video filter chain.
-rw-r--r--audio/filter/af.c2
1 files changed, 2 insertions, 0 deletions
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);