mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user