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

Steve Lhomme git at videolan.org
Wed Oct 17 12:02:13 CEST 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct  9 14:51:52 2018 +0200| [781447e4e0f8c42bae4689b03e38df20543012c8] | committer: Steve Lhomme

d3d9_fmt: log some device values as hexadecimal

it's more readable this way

(cherry picked from commit 30b8c2f7e269a538390ba42c95d5729650e1a0ac)

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

 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 6b67f0c2ac..56a52b86f9 100644
--- a/modules/video_chroma/d3d9_fmt.c
+++ b/modules/video_chroma/d3d9_fmt.c
@@ -98,7 +98,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