[vlc-commits] d3d11va: log the adapter Ids as hexademical
    Steve Lhomme 
    git at videolan.org
       
    Thu Apr 19 16:01:13 CEST 2018
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Apr 19 15:58:26 2018 +0200| [e6e2dc4b4da7f37af8130e67fea997de9ef08b0c] | committer: Steve Lhomme
d3d11va: 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=e6e2dc4b4da7f37af8130e67fea997de9ef08b0c
---
 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 aa73b0ffe7..45e954b203 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -471,7 +471,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;
    
    
More information about the vlc-commits
mailing list