diff options
author | wm4 <wm4@nowhere> | 2016-07-06 14:13:03 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-06 14:13:03 +0200 |
commit | 5d2f1da7c53919a41557c65f2c3f7d6ded8698f4 (patch) | |
tree | 0c603a22135dc8ae3ea4119df5f24c6a8c62b2a9 /video | |
parent | 771a8bf5c67417b7aad07fac0913c37b4633a205 (diff) |
vf, af: print filter labels in verbose mode
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c index 17416831f3..274ca945a2 100644 --- a/video/filter/vf.c +++ b/video/filter/vf.c @@ -227,6 +227,8 @@ void vf_print_filter_chain(struct vf_chain *c, int msglevel, for (vf_instance_t *f = c->first; f; f = f->next) { char b[128] = {0}; mp_snprintf_cat(b, sizeof(b), " [%s] ", f->info->name); + if (f->label) + mp_snprintf_cat(b, sizeof(b), "\"%s\" ", f->label); mp_snprintf_cat(b, sizeof(b), "%s", mp_image_params_to_str(&f->fmt_out)); if (f->autoinserted) mp_snprintf_cat(b, sizeof(b), " [a]"); |