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
adabc4ae
Commit
adabc4ae
authored
Nov 09, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use media time instead of stream time in video renderer.
parent
8363436e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
videorenderer.c
dlls/quartz/videorenderer.c
+3
-2
No files found.
dlls/quartz/videorenderer.c
View file @
adabc4ae
...
...
@@ -380,11 +380,12 @@ static HRESULT WINAPI VideoRenderer_Receive(BaseInputPin* pin, IMediaSample * pS
return
VFW_E_WRONG_STATE
;
}
if
(
IMediaSample_GetMediaTime
(
pSample
,
&
tStart
,
&
tStop
)
==
S_OK
)
MediaSeekingPassThru_RegisterMediaTime
(
This
->
seekthru_unk
,
tStart
);
hr
=
IMediaSample_GetTime
(
pSample
,
&
tStart
,
&
tStop
);
if
(
FAILED
(
hr
))
ERR
(
"Cannot get sample time (%x)
\n
"
,
hr
);
else
MediaSeekingPassThru_RegisterMediaTime
(
This
->
seekthru_unk
,
tStart
);
if
(
This
->
rtLastStop
!=
tStart
&&
This
->
filter
.
state
==
State_Running
)
{
...
...
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