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
3f84ee1e
Commit
3f84ee1e
authored
Mar 28, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/session: Trace seek position in Start().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
adaa984b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletion
+35
-1
mf_private.h
dlls/mf/mf_private.h
+34
-0
session.c
dlls/mf/session.c
+1
-1
No files found.
dlls/mf/mf_private.h
View file @
3f84ee1e
...
@@ -79,6 +79,40 @@ static inline const char *debugstr_time(LONGLONG time)
...
@@ -79,6 +79,40 @@ 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_propvar
(
const
PROPVARIANT
*
v
)
{
if
(
!
v
)
return
"(null)"
;
switch
(
v
->
vt
)
{
case
VT_EMPTY
:
return
wine_dbg_sprintf
(
"%p {VT_EMPTY}"
,
v
);
case
VT_NULL
:
return
wine_dbg_sprintf
(
"%p {VT_NULL}"
,
v
);
case
VT_UI4
:
return
wine_dbg_sprintf
(
"%p {VT_UI4: %ld}"
,
v
,
v
->
ulVal
);
case
VT_UI8
:
return
wine_dbg_sprintf
(
"%p {VT_UI8: %s}"
,
v
,
wine_dbgstr_longlong
(
v
->
uhVal
.
QuadPart
));
case
VT_I8
:
return
wine_dbg_sprintf
(
"%p {VT_I8: %s}"
,
v
,
wine_dbgstr_longlong
(
v
->
hVal
.
QuadPart
));
case
VT_R4
:
return
wine_dbg_sprintf
(
"%p {VT_R4: %.8e}"
,
v
,
v
->
fltVal
);
case
VT_R8
:
return
wine_dbg_sprintf
(
"%p {VT_R8: %lf}"
,
v
,
v
->
dblVal
);
case
VT_CLSID
:
return
wine_dbg_sprintf
(
"%p {VT_CLSID: %s}"
,
v
,
wine_dbgstr_guid
(
v
->
puuid
));
case
VT_LPWSTR
:
return
wine_dbg_sprintf
(
"%p {VT_LPWSTR: %s}"
,
v
,
wine_dbgstr_w
(
v
->
pwszVal
));
case
VT_VECTOR
|
VT_UI1
:
return
wine_dbg_sprintf
(
"%p {VT_VECTOR|VT_UI1: %p}"
,
v
,
v
->
caub
.
pElems
);
case
VT_UNKNOWN
:
return
wine_dbg_sprintf
(
"%p {VT_UNKNOWN: %p}"
,
v
,
v
->
punkVal
);
default:
return
wine_dbg_sprintf
(
"%p {vt %#x}"
,
v
,
v
->
vt
);
}
}
extern
BOOL
mf_is_sample_copier_transform
(
IMFTransform
*
transform
)
DECLSPEC_HIDDEN
;
extern
BOOL
mf_is_sample_copier_transform
(
IMFTransform
*
transform
)
DECLSPEC_HIDDEN
;
extern
BOOL
mf_is_sar_sink
(
IMFMediaSink
*
sink
)
DECLSPEC_HIDDEN
;
extern
BOOL
mf_is_sar_sink
(
IMFMediaSink
*
sink
)
DECLSPEC_HIDDEN
;
extern
HRESULT
topology_node_get_object
(
IMFTopologyNode
*
node
,
REFIID
riid
,
void
**
obj
)
DECLSPEC_HIDDEN
;
extern
HRESULT
topology_node_get_object
(
IMFTopologyNode
*
node
,
REFIID
riid
,
void
**
obj
)
DECLSPEC_HIDDEN
;
dlls/mf/session.c
View file @
3f84ee1e
...
@@ -2009,7 +2009,7 @@ static HRESULT WINAPI mfsession_Start(IMFMediaSession *iface, const GUID *format
...
@@ -2009,7 +2009,7 @@ static HRESULT WINAPI mfsession_Start(IMFMediaSession *iface, const GUID *format
struct
session_op
*
op
;
struct
session_op
*
op
;
HRESULT
hr
;
HRESULT
hr
;
TRACE
(
"%p, %s, %p.
\n
"
,
iface
,
debugstr_guid
(
format
),
start_position
);
TRACE
(
"%p, %s, %p.
\n
"
,
iface
,
debugstr_guid
(
format
),
debugstr_propvar
(
start_position
)
);
if
(
!
start_position
)
if
(
!
start_position
)
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