[vlc-commits] d3d9_fmt: log some device values as hexadecimal

Steve Lhomme git at videolan.org
Tue Oct 9 14:55:36 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct  9 14:51:52 2018 +0200| [30b8c2f7e269a538390ba42c95d5729650e1a0ac] | committer: Steve Lhomme

d3d9_fmt: log some device values as hexadecimal

it's more readable this way

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

 modules/video_chroma/d3d9_fmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_chroma/d3d9_fmt.c b/modules/video_chroma/d3d9_fmt.c
index f42a1c8dc0..a57c8b971a 100644
--- a/modules/video_chroma/d3d9_fmt.c
+++ b/modules/video_chroma/d3d9_fmt.c
@@ -92,7 +92,7 @@ HRESULT D3D9_CreateDevice(vlc_object_t *o, d3d9_handle_t *hd3d, HWND hwnd,
     if (FAILED(IDirect3D9_GetAdapterIdentifier(hd3d->obj, AdapterToUse,0, &d3dai))) {
         msg_Warn(o, "IDirect3D9_GetAdapterIdentifier failed");
     } else {
-        msg_Dbg(o, "Direct3d9 Device: %s %lu %lu %lu", d3dai.Description,
+        msg_Dbg(o, "Direct3d9 Device: %s %lx %lx %lx", d3dai.Description,
                 d3dai.VendorId, d3dai.DeviceId, d3dai.Revision );
     }
 



More information about the vlc-commits mailing list