mirror of
https://github.com/mpv-player/mpv
synced 2025-04-25 12:50:18 +00:00
audio: add auto-inserted flag to filter list logging
Like the video filter chain.
This commit is contained in:
parent
2eac58eaa9
commit
7be98ef1b2
@ -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);
|
mp_snprintf_cat(b, sizeof(b), "\"%s\" ", af->label);
|
||||||
if (af->data)
|
if (af->data)
|
||||||
mp_snprintf_cat(b, sizeof(b), "%s", mp_audio_config_to_str(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)
|
if (af == at)
|
||||||
mp_snprintf_cat(b, sizeof(b), " <-");
|
mp_snprintf_cat(b, sizeof(b), " <-");
|
||||||
MP_MSG(s, msg_level, "%s\n", b);
|
MP_MSG(s, msg_level, "%s\n", b);
|
||||||
|
Loading…
Reference in New Issue
Block a user