Nikolay Sivov : mfplat: Trace known format ids in MFCalculateImageSize().
Alexandre Julliard
julliard at winehq.org
Tue Apr 2 16:10:00 CDT 2019
Module: wine
Branch: master
Commit: fee85530dc224d59c08cbe09697dadbe76689c59
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fee85530dc224d59c08cbe09697dadbe76689c59
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Apr 2 11:46:16 2019 +0300
mfplat: Trace known format ids in MFCalculateImageSize().
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mfplat/main.c | 2 +-
dlls/mfplat/mediatype.c | 2 +-
dlls/mfplat/mfplat_private.h | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index be3a78d..a3e784c 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -687,7 +687,7 @@ const char *debugstr_attr(const GUID *guid)
return ret ? wine_dbg_sprintf("%s", ret->name) : wine_dbgstr_guid(guid);
}
-static const char *debugstr_mf_guid(const GUID *guid)
+const char *debugstr_mf_guid(const GUID *guid)
{
static const struct guid_def guid_defs[] =
{
diff --git a/dlls/mfplat/mediatype.c b/dlls/mfplat/mediatype.c
index 49143c5..f4a2577 100644
--- a/dlls/mfplat/mediatype.c
+++ b/dlls/mfplat/mediatype.c
@@ -1759,7 +1759,7 @@ HRESULT WINAPI MFCalculateImageSize(REFGUID subtype, UINT32 width, UINT32 height
};
struct uncompressed_video_format *format;
- TRACE("%s, %u, %u, %p.\n", debugstr_guid(subtype), width, height, size);
+ TRACE("%s, %u, %u, %p.\n", debugstr_mf_guid(subtype), width, height, size);
format = bsearch(subtype, video_formats, ARRAY_SIZE(video_formats), sizeof(*video_formats),
uncompressed_video_format_compare);
diff --git a/dlls/mfplat/mfplat_private.h b/dlls/mfplat/mfplat_private.h
index 5b183d4..d7a7547f 100644
--- a/dlls/mfplat/mfplat_private.h
+++ b/dlls/mfplat/mfplat_private.h
@@ -43,6 +43,7 @@ struct attributes
extern HRESULT init_attributes_object(struct attributes *object, UINT32 size) DECLSPEC_HIDDEN;
extern void clear_attributes_object(struct attributes *object) DECLSPEC_HIDDEN;
extern const char *debugstr_attr(const GUID *guid) DECLSPEC_HIDDEN;
+extern const char *debugstr_mf_guid(const GUID *guid) DECLSPEC_HIDDEN;
extern HRESULT attributes_GetItem(struct attributes *object, REFGUID key, PROPVARIANT *value) DECLSPEC_HIDDEN;
extern HRESULT attributes_GetItemType(struct attributes *object, REFGUID key, MF_ATTRIBUTE_TYPE *type) DECLSPEC_HIDDEN;
More information about the wine-cvs
mailing list