summaryrefslogtreecommitdiffstats
path: root/filters/f_decoder_wrapper.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-03-05 21:20:50 +0100
committerwm4 <wm4@nowhere>2020-03-05 22:00:50 +0100
commit12375f67b415587ccf9504a8cfcd1830b06f8801 (patch)
tree963a0e72ecde6e835c421f494efb661e3ac3ed4d /filters/f_decoder_wrapper.c
parent8a1bd15216fa54773ee3f32b77ee373c164691b4 (diff)
downloadmpv-12375f67b415587ccf9504a8cfcd1830b06f8801.tar.bz2
mpv-12375f67b415587ccf9504a8cfcd1830b06f8801.tar.xz
f_decoder_wrapper: use proper log prefix for all involved filters
p->log has a prefix set that gives some context and distinguishes audio and video decoders. The "public" wrapper filter didn't use it, which is a regression since commit a3823ce0e03.
Diffstat (limited to 'filters/f_decoder_wrapper.c')
-rw-r--r--filters/f_decoder_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/f_decoder_wrapper.c b/filters/f_decoder_wrapper.c
index d5ce6725d3..cc8af967df 100644
--- a/filters/f_decoder_wrapper.c
+++ b/filters/f_decoder_wrapper.c
@@ -1201,7 +1201,7 @@ struct mp_decoder_wrapper *mp_decoder_wrapper_create(struct mp_filter *parent,
p->decf = mp_filter_create(p->dec_root_filter ? p->dec_root_filter : public_f,
&decf_filter);
p->decf->priv = p;
- p->decf->log = p->log;
+ p->decf->log = public_f->log = p->log;
mp_filter_add_pin(p->decf, MP_PIN_OUT, "out");
struct mp_filter *demux = mp_demux_in_create(p->decf, p->header);