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
18f1e9bd
Commit
18f1e9bd
authored
Aug 20, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmvcore/tests: Test async reader compressed sample monotonic pts.
parent
ea6de10f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+5
-0
No files found.
dlls/wmvcore/tests/wmvcore.c
View file @
18f1e9bd
...
...
@@ -1791,6 +1791,8 @@ struct callback
DWORD
callback_tid
;
QWORD
last_pts
;
QWORD
expect_ontime
;
HANDLE
ontime_event
;
};
...
...
@@ -2041,6 +2043,8 @@ static HRESULT WINAPI callback_advanced_OnStreamSample(IWMReaderCallbackAdvanced
GetTickCount
(),
GetCurrentThreadId
(),
stream_number
,
pts
,
duration
,
flags
);
ok
(
callback
->
callback_tid
==
GetCurrentThreadId
(),
"got wrong thread
\n
"
);
ok
(
callback
->
last_pts
<=
pts
,
"got pts %I64d
\n
"
,
pts
);
callback
->
last_pts
=
pts
;
ok
(
context
==
(
void
*
)
0xfacade
,
"Got unexpected context %p.
\n
"
,
context
);
...
...
@@ -2372,6 +2376,7 @@ static void run_async_reader(IWMReader *reader, IWMReaderAdvanced2 *advanced, st
callback
->
end_of_streaming_count
=
0
;
callback
->
eof_count
=
0
;
callback
->
callback_tid
=
0
;
callback
->
last_pts
=
0
;
hr
=
IWMReader_Start
(
reader
,
0
,
0
,
1
.
0
f
,
(
void
*
)
0xfacade
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
...
...
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