[PATCH] mfplat: Print the debug strings and not the pointers
Michael Stefaniuc
mstefani at winehq.org
Mon May 13 14:49:52 CDT 2019
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
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 b0b5ccc42a..03037590ec 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 d10e643868..14b9e2376a 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) );
--
2.20.1
More information about the wine-devel
mailing list