[vlc-commits] dxva2: log the adapter Ids as hexademical
Steve Lhomme
git at videolan.org
Thu Apr 19 16:01:14 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Apr 19 15:58:36 2018 +0200| [a8ac11fe302dd39a2082bb63b3cef9dd2166f2e5] | committer: Steve Lhomme
dxva2: log the adapter Ids as hexademical
That's the common way to refer to them.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8ac11fe302dd39a2082bb63b3cef9dd2166f2e5
---
modules/codec/avcodec/dxva2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 6ec00e3dcc..6aa4160c1a 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -376,7 +376,7 @@ static char *DxDescribe(vlc_va_sys_t *sys)
}
char *description;
- if (asprintf(&description, "DXVA2 (%.*s, vendor %s(%lu), device %lu, revision %lu)",
+ if (asprintf(&description, "DXVA2 (%.*s, vendor %s(%lx), device %lx, revision %lx)",
(int)sizeof(d3dai.Description), d3dai.Description,
DxgiVendorStr(d3dai.VendorId), d3dai.VendorId, d3dai.DeviceId, d3dai.Revision) < 0)
return NULL;
More information about the vlc-commits
mailing list