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
1281b749
Commit
1281b749
authored
Apr 14, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Update start_time if the current position is changed.
parent
3e9cee05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
filtergraph.c
dlls/quartz/filtergraph.c
+8
-0
No files found.
dlls/quartz/filtergraph.c
View file @
1281b749
...
...
@@ -2126,7 +2126,9 @@ static HRESULT WINAPI MediaSeeking_SetPositions(IMediaSeeking *iface,
TRACE
(
"State: %s
\n
"
,
state
==
State_Running
?
"Running"
:
(
state
==
State_Paused
?
"Paused"
:
(
state
==
State_Stopped
?
"Stopped"
:
"UNKNOWN"
)));
if
((
dwCurrentFlags
&
0x7
)
==
AM_SEEKING_AbsolutePositioning
)
{
This
->
position
=
*
pCurrent
;
}
else
if
((
dwCurrentFlags
&
0x7
)
!=
AM_SEEKING_NoPositioning
)
FIXME
(
"Adjust method %x not handled yet!
\n
"
,
dwCurrentFlags
&
0x7
);
...
...
@@ -2140,6 +2142,12 @@ static HRESULT WINAPI MediaSeeking_SetPositions(IMediaSeeking *iface,
args
.
curflags
=
dwCurrentFlags
;
args
.
stopflags
=
dwStopFlags
;
hr
=
all_renderers_seek
(
This
,
found_setposition
,
(
DWORD_PTR
)
&
args
);
if
(
This
->
refClock
&&
((
dwCurrentFlags
&
0x7
)
!=
AM_SEEKING_NoPositioning
))
{
/* Update start time, prevents weird jumps */
IReferenceClock_GetTime
(
This
->
refClock
,
&
This
->
start_time
);
}
LeaveCriticalSection
(
&
This
->
cs
);
return
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