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
d38b8502
Commit
d38b8502
authored
Mar 19, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Mar 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Pass the reference time + small delay on on begin of playback.
parent
366eca51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
filtergraph.c
dlls/quartz/filtergraph.c
+16
-1
No files found.
dlls/quartz/filtergraph.c
View file @
d38b8502
...
...
@@ -1478,7 +1478,22 @@ static HRESULT ExploreGraph(IFilterGraphImpl* pGraph, IPin* pOutputPin, fnFoundF
}
static
HRESULT
WINAPI
SendRun
(
IBaseFilter
*
pFilter
)
{
return
IBaseFilter_Run
(
pFilter
,
0
);
LONGLONG
time
=
0
;
IReferenceClock
*
clock
=
NULL
;
IBaseFilter_GetSyncSource
(
pFilter
,
&
clock
);
if
(
clock
)
{
IReferenceClock_GetTime
(
clock
,
&
time
);
if
(
time
)
/* Add 50 ms */
time
+=
500000
;
if
(
time
<
0
)
time
=
0
;
IReferenceClock_Release
(
clock
);
}
return
IBaseFilter_Run
(
pFilter
,
time
);
}
static
HRESULT
WINAPI
SendPause
(
IBaseFilter
*
pFilter
)
{
...
...
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