Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7c6c0544
Commit
7c6c0544
authored
Oct 25, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr: Trace normalized rectangle arguments.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e1e7c160
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
evr_private.h
dlls/evr/evr_private.h
+6
-0
mixer.c
dlls/evr/mixer.c
+2
-1
presenter.c
dlls/evr/presenter.c
+1
-1
No files found.
dlls/evr/evr_private.h
View file @
7c6c0544
...
@@ -45,6 +45,12 @@ static inline const char *debugstr_time(LONGLONG time)
...
@@ -45,6 +45,12 @@ static inline const char *debugstr_time(LONGLONG time)
return
wine_dbg_sprintf
(
"%s"
,
rev
);
return
wine_dbg_sprintf
(
"%s"
,
rev
);
}
}
static
inline
const
char
*
debugstr_normalized_rect
(
const
MFVideoNormalizedRect
*
rect
)
{
if
(
!
rect
)
return
"(null)"
;
return
wine_dbg_sprintf
(
"(%.8e,%.8e)-(%.8e,%.8e)"
,
rect
->
left
,
rect
->
top
,
rect
->
right
,
rect
->
bottom
);
}
HRESULT
evr_filter_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
evr_filter_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
evr_mixer_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
evr_mixer_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
evr_presenter_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
HRESULT
evr_presenter_create
(
IUnknown
*
outer_unk
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
...
...
dlls/evr/mixer.c
View file @
7c6c0544
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include "mferror.h"
#include "mferror.h"
#include "evr_classes.h"
#include "evr_classes.h"
#include "evr_private.h"
#include "initguid.h"
#include "initguid.h"
#include "evr9.h"
#include "evr9.h"
...
@@ -1551,7 +1552,7 @@ static HRESULT WINAPI video_mixer_control_SetStreamOutputRect(IMFVideoMixerContr
...
@@ -1551,7 +1552,7 @@ static HRESULT WINAPI video_mixer_control_SetStreamOutputRect(IMFVideoMixerContr
struct
input_stream
*
stream
;
struct
input_stream
*
stream
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"%p, %u, %
p.
\n
"
,
iface
,
id
,
rect
);
TRACE
(
"%p, %u, %
s.
\n
"
,
iface
,
id
,
debugstr_normalized_rect
(
rect
)
);
if
(
!
rect
)
if
(
!
rect
)
return
E_POINTER
;
return
E_POINTER
;
...
...
dlls/evr/presenter.c
View file @
7c6c0544
...
@@ -1280,7 +1280,7 @@ static HRESULT WINAPI video_presenter_control_SetVideoPosition(IMFVideoDisplayCo
...
@@ -1280,7 +1280,7 @@ static HRESULT WINAPI video_presenter_control_SetVideoPosition(IMFVideoDisplayCo
struct
video_presenter
*
presenter
=
impl_from_IMFVideoDisplayControl
(
iface
);
struct
video_presenter
*
presenter
=
impl_from_IMFVideoDisplayControl
(
iface
);
HRESULT
hr
=
S_OK
;
HRESULT
hr
=
S_OK
;
TRACE
(
"%p, %
p, %s.
\n
"
,
iface
,
src_rect
,
wine_dbgstr_rect
(
dst_rect
));
TRACE
(
"%p, %
s, %s.
\n
"
,
iface
,
debugstr_normalized_rect
(
src_rect
)
,
wine_dbgstr_rect
(
dst_rect
));
if
(
!
src_rect
&&
!
dst_rect
)
if
(
!
src_rect
&&
!
dst_rect
)
return
E_POINTER
;
return
E_POINTER
;
...
...
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