vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Thu Apr 19 
15:58:26 2018 +0200| [ede7eed21134b3d7ee4baa3ac182856ddb4c39f0] | committer: 
Steve Lhomme

d3d11va: log the adapter Ids as hexademical

That's the common way to refer to them.

(cherry picked from commit e6e2dc4b4da7f37af8130e67fea997de9ef08b0c)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ede7eed21134b3d7ee4baa3ac182856ddb4c39f0
---

 modules/codec/avcodec/d3d11va.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index dcc9e4adab..d947967308 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -482,7 +482,7 @@ static char *DxDescribe(vlc_va_sys_t *sys)
         char *utfdesc = FromWide(adapterDesc.Description);
         if (likely(utfdesc!=NULL))
         {
-            if (asprintf(&description, "D3D11VA (%s, vendor %u(%s), device %u, 
revision %u)",
+            if (asprintf(&description, "D3D11VA (%s, vendor %x(%s), device %x, 
revision %x)",
                          utfdesc,
                          adapterDesc.VendorId, 
DxgiVendorStr(adapterDesc.VendorId), adapterDesc.DeviceId, 
adapterDesc.Revision) < 0)
                 description = NULL;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to