diff options
author | wm4 <wm4@nowhere> | 2018-03-14 06:44:06 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-03-15 23:13:53 -0700 |
commit | 9b0102dd8b72c7790be2bb0715f5d9796c0f2b7d (patch) | |
tree | ea378fb8131971fa447bdc4ede94247532c1ee08 | |
parent | 4aa1be44c2f2c109a3b7f6a8653a1e2f2290887a (diff) | |
download | mpv-9b0102dd8b72c7790be2bb0715f5d9796c0f2b7d.tar.bz2 mpv-9b0102dd8b72c7790be2bb0715f5d9796c0f2b7d.tar.xz |
f_hwtransfer: more detailed logging
This also switches the order, because that makes more sense.
-rw-r--r-- | filters/f_hwtransfer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/filters/f_hwtransfer.c b/filters/f_hwtransfer.c index b06236df38..992dab71e7 100644 --- a/filters/f_hwtransfer.c +++ b/filters/f_hwtransfer.c @@ -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; } } |