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 a3823ce0e0.
This commit is contained in:
wm4 2020-03-05 21:20:50 +01:00
parent 8a1bd15216
commit 12375f67b4
1 changed files with 1 additions and 1 deletions

View File

@ -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, p->decf = mp_filter_create(p->dec_root_filter ? p->dec_root_filter : public_f,
&decf_filter); &decf_filter);
p->decf->priv = p; 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"); mp_filter_add_pin(p->decf, MP_PIN_OUT, "out");
struct mp_filter *demux = mp_demux_in_create(p->decf, p->header); struct mp_filter *demux = mp_demux_in_create(p->decf, p->header);