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
10b2a21c
Commit
10b2a21c
authored
Feb 03, 2012
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Do not report a position unless the filter graph is running or has been paused.
parent
d1f6a5a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
filtergraph.c
dlls/quartz/filtergraph.c
+3
-1
No files found.
dlls/quartz/filtergraph.c
View file @
10b2a21c
...
...
@@ -2457,12 +2457,14 @@ static HRESULT WINAPI MediaSeeking_GetCurrentPosition(IMediaSeeking *iface, LONG
hr
=
all_renderers_seek
(
This
,
FoundCurrentPosition
,
(
DWORD_PTR
)
pCurrent
);
if
(
hr
==
E_NOTIMPL
)
{
LONGLONG
time
=
0
;
if
(
This
->
refClock
)
if
(
This
->
state
==
State_Running
&&
This
->
refClock
&&
This
->
start_time
>=
0
)
{
IReferenceClock_GetTime
(
This
->
refClock
,
&
time
);
if
(
time
)
time
-=
This
->
start_time
;
}
if
(
This
->
pause_time
>
0
)
time
+=
This
->
pause_time
;
*
pCurrent
=
time
;
hr
=
S_OK
;
}
...
...
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