diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2016-04-17 18:28:14 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2016-04-17 18:28:14 -0700 |
commit | 611594e7e814163343896400b52a99661559d3c0 (patch) | |
tree | 731f59cd51ae72c398da93574192106fbaa45261 /video/decode/d3d11va.c | |
parent | 1f1117d0dd61e47d1c64f567be1ca80ac968bd22 (diff) | |
download | mpv-611594e7e814163343896400b52a99661559d3c0.tar.bz2 mpv-611594e7e814163343896400b52a99661559d3c0.tar.xz |
d3dva: include selected decoder and format in verbose output
Diffstat (limited to 'video/decode/d3d11va.c')
-rw-r--r-- | video/decode/d3d11va.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/decode/d3d11va.c b/video/decode/d3d11va.c index 622a28981d..c73ce2cab6 100644 --- a/video/decode/d3d11va.c +++ b/video/decode/d3d11va.c @@ -160,10 +160,14 @@ static void dump_decoder_info(struct lavc_ctx *s, const GUID *guid) static DWORD get_dxfmt_cb(struct lavc_ctx *s, const GUID *guid, int depth) { + struct priv *p = s->hwdec_priv; for (int i = 0; i < MP_ARRAY_SIZE(d3d11_formats); i++) { const struct d3d11_format *format = &d3d11_formats[i]; if (depth <= format->depth && d3d11_format_supported(s, guid, format)) { + MP_VERBOSE(p, "Selecting %s %s\n", + d3d_decoder_guid_to_desc(guid), + format->name); return format->format; } } |