Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fee85530
Commit
fee85530
authored
Apr 02, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Trace known format ids in MFCalculateImageSize().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
49491a1a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
main.c
dlls/mfplat/main.c
+1
-1
mediatype.c
dlls/mfplat/mediatype.c
+1
-1
mfplat_private.h
dlls/mfplat/mfplat_private.h
+1
-0
No files found.
dlls/mfplat/main.c
View file @
fee85530
...
...
@@ -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
[]
=
{
...
...
dlls/mfplat/mediatype.c
View file @
fee85530
...
...
@@ -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
);
...
...
dlls/mfplat/mfplat_private.h
View file @
fee85530
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment