From 40fef0fb71b079c1bf9667d80384cc43ec7f11fd Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 13 May 2019 21:49:52 +0200 Subject: [PATCH] mfplat: Print the debug strings and not the pointers. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/mfplat/buffer.c | 2 +- dlls/mfplat/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mfplat/buffer.c b/dlls/mfplat/buffer.c index b0b5ccc42ab..03037590ecf 100644 --- a/dlls/mfplat/buffer.c +++ b/dlls/mfplat/buffer.c @@ -438,7 +438,7 @@ static HRESULT WINAPI sample_DeleteItem(IMFSample *iface, REFGUID key) { struct sample *sample = impl_from_IMFSample(iface); - TRACE("%p, %p.\n", iface, debugstr_attr(key)); + TRACE("%p, %s.\n", iface, debugstr_attr(key)); return attributes_DeleteItem(&sample->attributes, key); } diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c index d10e6438684..14b9e2376aa 100644 --- a/dlls/mfplat/main.c +++ b/dlls/mfplat/main.c @@ -5918,7 +5918,7 @@ HRESULT WINAPI MFCreateMediaEvent(MediaEventType type, REFGUID extended_type, HR mfmediaevent *object; HRESULT hr; - TRACE("%s, %s, %08x, %p, %p\n", debugstr_eventid(type), debugstr_guid(extended_type), status, + TRACE("%s, %s, %08x, %s, %p\n", debugstr_eventid(type), debugstr_guid(extended_type), status, debugstr_propvar(value), event); object = HeapAlloc( GetProcessHeap(), 0, sizeof(*object) );