mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
f_hwtransfer: more detailed logging
This also switches the order, because that makes more sense.
This commit is contained in:
parent
4aa1be44c2
commit
9b0102dd8b
@ -60,9 +60,10 @@ static bool update_format_decision(struct priv *p, int input_fmt)
|
||||
p->last_input_fmt = input_fmt;
|
||||
p->last_upload_fmt = u->upload_fmts[index];
|
||||
p->last_sw_fmt = u->fmts[n];
|
||||
MP_INFO(u->f, "upload %s -> %s\n",
|
||||
mp_imgfmt_to_name(p->last_sw_fmt),
|
||||
mp_imgfmt_to_name(p->last_input_fmt));
|
||||
MP_INFO(u->f, "upload %s -> %s (%s)\n",
|
||||
mp_imgfmt_to_name(p->last_input_fmt),
|
||||
mp_imgfmt_to_name(p->last_upload_fmt),
|
||||
mp_imgfmt_to_name(p->last_sw_fmt));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user