summaryrefslogtreecommitdiffstats
path: root/video/decode/dxva2.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-04-17 18:28:14 -0700
committerKevin Mitchell <kevmitch@gmail.com>2016-04-17 18:28:14 -0700
commit611594e7e814163343896400b52a99661559d3c0 (patch)
tree731f59cd51ae72c398da93574192106fbaa45261 /video/decode/dxva2.c
parent1f1117d0dd61e47d1c64f567be1ca80ac968bd22 (diff)
downloadmpv-611594e7e814163343896400b52a99661559d3c0.tar.bz2
mpv-611594e7e814163343896400b52a99661559d3c0.tar.xz
d3dva: include selected decoder and format in verbose output
Diffstat (limited to 'video/decode/dxva2.c')
-rw-r--r--video/decode/dxva2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/decode/dxva2.c b/video/decode/dxva2.c
index c90fa76885..852c32f038 100644
--- a/video/decode/dxva2.c
+++ b/video/decode/dxva2.c
@@ -170,6 +170,9 @@ static DWORD get_dxfmt_cb(struct lavc_ctx *s, const GUID *guid, int depth)
for (UINT j = 0; j < n_formats; j++) {
if (formats[i] == d3d9_fmt->format) {
ret = formats[i];
+ MP_VERBOSE(p, "Selecting %s %s\n",
+ d3d_decoder_guid_to_desc(guid),
+ mp_tag_str(ret));
goto done;
}
}