f_hwtransfer: more detailed logging

This also switches the order, because that makes more sense.
This commit is contained in:
wm4 2018-03-14 06:44:06 +01:00 committed by Kevin Mitchell
parent 4aa1be44c2
commit 9b0102dd8b
1 changed files with 4 additions and 3 deletions

View File

@ -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;
}
}