Michael Stefaniuc : mfplat: Print the debug strings and not the pointers.
Alexandre Julliard
julliard at winehq.org
Mon May 13 16:24:17 CDT 2019
Module: wine
Branch: master
Commit: 40fef0fb71b079c1bf9667d80384cc43ec7f11fd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=40fef0fb71b079c1bf9667d80384cc43ec7f11fd
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon May 13 21:49:52 2019 +0200
mfplat: Print the debug strings and not the pointers.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 b0b5ccc..0303759 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 d10e643..14b9e23 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) );
More information about the wine-cvs
mailing list