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
b353f324
Commit
b353f324
authored
Dec 10, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Handle seeking while running better.
parent
2c63cf58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
filtergraph.c
dlls/quartz/filtergraph.c
+5
-4
No files found.
dlls/quartz/filtergraph.c
View file @
b353f324
...
...
@@ -2471,17 +2471,18 @@ static HRESULT WINAPI MediaSeeking_SetPositions(IMediaSeeking *iface,
else
if
((
dwStopFlags
&
0x7
)
!=
AM_SEEKING_NoPositioning
)
FIXME
(
"Stop position not handled yet!
\n
"
);
if
(
state
==
State_Running
&&
!
(
dwCurrentFlags
&
AM_SEEKING_NoFlush
))
IMediaControl_Pause
((
IMediaControl
*
)
&
This
->
IMediaControl_vtbl
);
args
.
current
=
pCurrent
;
args
.
stop
=
pStop
;
args
.
curflags
=
dwCurrentFlags
;
args
.
stopflags
=
dwStopFlags
;
hr
=
all_renderers_seek
(
This
,
found_setposition
,
(
DWORD_PTR
)
&
args
);
if
((
dwCurrentFlags
&
0x7
)
!=
AM_SEEKING_NoPositioning
)
{
if
(
This
->
state
==
State_Running
)
FIXME
(
"Seeking while graph is running is not properly supported!
\n
"
);
if
((
dwCurrentFlags
&
0x7
)
!=
AM_SEEKING_NoPositioning
)
This
->
pause_time
=
This
->
start_time
=
-
1
;
}
if
(
state
==
State_Running
&&
!
(
dwCurrentFlags
&
AM_SEEKING_NoFlush
))
IMediaControl_Run
((
IMediaControl
*
)
&
This
->
IMediaControl_vtbl
);
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